unit tests are not using testtools
Bug #1593079 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Low
|
Leo Arias |
Bug Description
testtools is used in the integration and snaps test suites. It would be nice to use it in the unittests too.
[Impact]
* For users, None.
* Testtools adds extra features that we will be able to use in unittests.
[Test Case]
* N/A
[Regression Potential]
* This could make unit tests fail. They are executed before merging the branch into master, so we are covered.
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Leo Arias (elopio) |
milestone: | none → 2.12 |
Changed in snapcraft: | |
status: | Confirmed → In Progress |
Changed in snapcraft: | |
milestone: | 2.23 → 2.24 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We have a conflict with the scenarios.
Some of our tests use subTest, which is only supported in unittest, not in testtools.
I reported this: https:/ /github. com/testing- cabal/testtools /issues/ 235
I wanted to get rid of testscenarios and use subTests everywhere. But I also wanted to use testtools everywhere. Both are not possible at the moment.