Commit graph

4 commits

Author SHA1 Message Date
rillig
1a4cff42cf regress/infra-unittests: bring files into normal form 2020-04-26 12:46:33 +00:00
rillig
b17ebc4cec regress/infra-unittests: rewrite documentation, adjust code a little
The documentation now starts with a high-level introduction instead of
listing only the details.

The name of the function test_file had to be changed since the old name
was not expressive enough. Same for the variable real_pkgsrcdir.
2020-03-27 22:56:29 +00:00
rillig
5f9f5de3b2 regress/infra-unittests: restructure test infrastructure
Before, the first assertion failure quit immediately. This prevented
getting a complete picture of the situation that failed. Now the
assertions continue the test and fail at the very end.
2020-03-20 08:56:42 +00:00
rillig
40cf71365f regress/infra-unittests: add small framework for testing mk/ with mocks 2019-03-21 21:45:30 +00:00