question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Customization of results.xml with "factory.add_option(...)"

See original GitHub issue

Hello! I’d like to suggest a feature to the results.xml file that we get at the end of a simulation.

I’m running some tests permutations with a code that looks like this:

for test in [test1, test2]:
        factory = TestFactory(test)
        factory.add_option("config1",            [True, False])
        factory.add_option("config2",            ["opt-a", "opt-b", "opt-c"])
        factory.add_option("config3",            [True, False])
        factory.generate_tests()

Then in my results.xml, I got the list of all the test permutations with this setting. Right now it is only possible to get the name of the test, if it has passed/failed, its simulation time, its real time, and its ratio.

Could you guys add a way to add to each test in the results.xml the value of the custom options?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ktbarrettcommented, May 18, 2021

What do pytest tests marked with pytest.mark.parameterize output in XML? Is there a some standard output for test parameterization in xUnit?

0reactions
ktbarrettcommented, Jul 15, 2021

#2566 has been reverted, so this still needs to be resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Relic Solution: Creating XML-based Custom Instrumentation ...
Custom transactions and custom instrumentation are defined in XML files found in C:\ProgramData\New Relic\.NET Agent\Extensions . There are ...
Read more >
Question and Test Interoperability (QTI): Implementation Guide
The CC2_match.xml response template provides inline feedback and is the preferred response template. It processes outcomes by doing two things.
Read more >
Schema and data type mapping in copy activity - Microsoft Learn
This article describes how the Azure Data Factory copy activity perform schema mapping and data type mapping from source data to sink data....
Read more >
Spring Framework Reference Documentation
Composing XML-based configuration metadata; The Groovy Bean Definition DSL ... Customizing configuration metadata with a BeanFactoryPostProcessor.
Read more >
SAP S/4HANA System Conversion – Custom code adaptation ...
This can lead to unexpected behavior when the database is changed (for example to SAP HANA) because the results return in a different...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found