utPLSQL / utPLSQL-cli

Command line client for invoking utPLSQL
Apache License 2.0
40 stars 15 forks source link

The order of unit testing #207

Closed andriusjediksapiens closed 1 year ago

andriusjediksapiens commented 2 years ago

Hello, in the moment I am upgrading utplsql unit tests from version 2 to version 3. Sadly, but my tests are dependent on each other and the order of testing is really important. Before I used maven plugin on jenkins to run them (maven could execute them in right order), but for v3 I am using utPLSQL-cli. The problem, that I cannot find the logic behind unit test execution as I've tried to use different suite path order and the order of execution seems random. How can I run test in the right order?

simasch commented 2 years ago

Based on the documentation it is:

  1. schema name
  2. suite path or test package name if --%suitepath was not specified for that package
  3. --%test line number in package

How do you start te tests?