This website requires JavaScript.
Explore
Help
Sign in
wbrawner
/
toolbox
Watch
1
Star
0
Fork
You've already forked toolbox
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
9a0e1b201d
toolbox
/
.gitignore
4 lines
71 B
Text
Raw
Normal View
History
Unescape
Escape
Add a skeleton for the Go rewrite To build the Go, enter the src sub-directory and use 'go build': $ cd src $ go build https://github.com/containers/toolbox/pull/318
2020-04-07 19:34:59 +00:00
src/toolbox
test/system: Refactor tests using bats-support and bats-assert The bats-support[0] and bats-assert[1] libraries extend the capabilities of bats[2]. Mainly, bats-assert is very useful for clean checking of values/outputs/return codes. Apart from updating the cases to use the libraries, the test cases have been restructured in a way that they don't depend on each other anymore. This required major changes in the helpers.bats file. Overall, the tests are cleaner to read and easier to extend due to the test cases being independent. Some slight changes were made to the test cases themselves. Should not alter their final behaviour. There will be a follow up commit that will take care of downloading of the tested images locally and caching them using Skopeo to speedup the tests and try to resolve network problems when pulling the images that we experienced in the past. [0] https://github.com/bats-core/bats-support [1] https://github.com/bats-core/bats-assert [2] https://github.com/bats-core/bats-core
2020-07-27 13:35:17 +00:00
test/system/libs/bats-assert
test/system/libs/bats-support
Reference in a new issue
Copy permalink