Get help with testing, discuss unit testing strategies etc.


Post by ivanj »

I have first test that creates User_TIMESTAMP.
I want second test to do some stuff with this user and the 3rd test to delete them.
What is good way to pass that user name User_TIMESTAMP between the two tests?

Post by nickolay »

Hi,

Tests should not depend on each other generally (because that will prevent parallel execution). Thus there's no way to pass information from one to another.

You can place these tests in the same file or, perhaps, extend the test class with additional helper methods: https://www.bryntum.com/docs/siesta/#!/ ... test_class

Post Reply