DARMA-tasking / LB-analysis-framework

Analysis framework for exploring, testing, and comparing load balancing strategies
Other
3 stars 1 forks source link

Create unit tests covering bugs uncovered during interactive testing sessions #520

Open ppebay opened 3 days ago

ppebay commented 3 days ago

One such example (but there were others uncovered before, i.e. issues when trying to edit tasks)

          @tlamonthezie getting this error when trying to create a **block** in interactive mode:
Screenshot 2024-07-05 at 05 03 18

After such errors are fixed, unit tests should be created to cover such conditions

ppebay commented 3 days ago

Another example to be covered:

Screenshot 2024-07-05 at 05 19 38
tlamonthezie commented 3 days ago

The goal of this issue is to write some input scenarios to play as a unit test. In interactive mode all errors are not fired but simply displayed to the user. That's why we have to test the shell output at each step of each scenario.

tlamonthezie commented 3 days ago

Another example to be covered: Screenshot 2024-07-05 at 05 19 38

Thansk @ppebay for your test it should be fixed now.