How to use "Execute Python unit test" scenario step

Marlan
Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 328 Neuron
A new scenario step was added in a recent DSS version which is to execute a Python unit test. I'd like to start using this.
However, the documentation is pretty brief: "this step executes one or more Python pytest tests from a project’s Libraries folder using a Pytest selector".
Anyone have more details on or an example of how this would work?
Thanks,
Marlan
Operating system used: Red Hat
Best Answer
-
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 328 Neuron
- I found a tutorial that shows how to use the Python Unit test functionality in the Knowledge Base:
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,329 Neuron
This might help:
-
Marlan Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Dataiku Frontrunner Awards 2021 Participant, Neuron 2023 Posts: 328 Neuron
Thanks Turribeach. This gives some hints and I may be able to figure out how to infer from this example which uses an Execute Python step how to use the new Execute Python unit test. But I was hoping not to have to figure it out myself. My need isn't urgent so I'll probably just wait until Dataiku updates their documentation.