3 ms·
It's funny you mentioned the exact problems I'm trying to solve. For the tests, I'm writing my own xUnit tool [1]. It doesn't use any fancy stuff, runs on set
by alganet 12y ago
It's funny you mentioned the exact problems I'm trying to solve.
For the tests, I'm writing my own xUnit tool [1]. It doesn't use any fancy stuff, runs on set -euf, it's tested by itself and works on every POSIX-like shell that I could find (bash, dash, zsh, (m|pd)ksh, yash, posh, even busybox) and many different versions and OSs.
On the functional side, I've decided that I need to test using virtual machines. The test matrix tool that can spawn and test on them is almost ready [2], it already tests the library itself and exports the matrix configuration to Travis.
Very early stuff though and doesn't even touch problems like partition routines you mentioned, but overall I'm happy with the results, considering everything runs under 70Kb of code.
[1] https://github.com/Mosai/workshop/blob/master/doc/posit.md https://github.com/Mosai/workshop/blob/master/doc/posit.md
[2] https://github.com/Mosai/workshop/blob/master/test/matrix.sh https://github.com/Mosai/workshop/blob/master/test/matrix.sh