Commit 9ff4d39
committed
Improve test coverage
Renames test/test_packbeam.erl -> test/packbeam_api_tests.erl to conform to standard eunit naming
conventions, with the test module having the same name as the module is test with `_tests` appended
to the name. This allows testing individual modules with `rebar3 eunit -m MODULE`.
Add packbeam_tests.erl to test the main `packbeam` cli escript. The escript should be assembled in
the `test` profile, as is done in the Makefile `etest` target, before eunit tests are run.
Signed-off-by: Winford <winford@object.stream>1 parent fcfd504 commit 9ff4d39
File tree
4 files changed
+584
-1
lines changed- test
4 files changed
+584
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments