Commit graph

35 commits

Author SHA1 Message Date
001b575f31
chore(module): remove "set -x" addition in script tests 2025-06-13 15:43:21 +02:00
3bb1764013
chore: merge branch 'main' into feat/module-system 2025-06-13 15:39:52 +02:00
4a8ccdf34c
chore(cli): handle help command manually to exit 0 2025-06-13 15:25:08 +02:00
98141a1f5c
feat: switch to module system to evaluate suites & tests
add autodiscovery feature
2025-06-12 21:23:28 +02:00
e8da91ad27
docs: update cli help 2025-06-08 20:55:36 +02:00
6ee3811b56
docs: add images & fix typo 2025-06-08 20:52:20 +02:00
b732e118df chore: add LICENSE 2025-06-03 21:45:50 +02:00
392e8796f3 Merge branch 'refactor' into 'main'
refactor

See merge request TECHNOFAB/nixtest!1
2025-06-03 12:19:55 +02:00
11117e0c0e refactor: split into packages and add tests 2025-06-03 12:05:16 +02:00
fd58344ca7 docs: add documentation 2025-06-02 13:34:59 +02:00
c2ca17dfc5 chore(lib): add assertion for script to not be null when type=="script" 2025-06-02 01:13:54 +02:00
25de5061ad fix(package): use filesets so nixtest doesnt get rebuilt all the time 2025-06-02 01:13:05 +02:00
0b783157bb fix(flake): add missing lib 2025-05-31 20:03:14 +02:00
3ff5b358d5 feat: add pure mode which unsets env variables before script tests 2025-05-31 19:06:40 +02:00
7bb5c65259 feat: sort suites and tests alphabetically in the console summary 2025-05-31 18:39:08 +02:00
f59d92791b chore: use set -x to show which line of "script" failed the test 2025-05-31 18:30:54 +02:00
5436abf377 fix: handle final newline in messages correctly 2025-05-31 18:28:17 +02:00
c1ad61b367 chore: display "script" output on failure without diffing 2025-05-31 18:10:11 +02:00
2b7c215ffa fix: display multi-line diffs with correct colors 2025-05-31 18:09:33 +02:00
b50a1c61a6 feat: add "script" test type 2025-05-31 17:20:19 +02:00
d0e47e305d fix: handle error instead of including it in diff 2025-05-11 17:46:13 +02:00
8b5ac904db chore: use git-like patch/diff in junit output 2025-05-11 17:40:13 +02:00
9068477650 fix: pretty print expected aswell when format is "pretty" 2025-05-11 02:05:01 +02:00
4aaaf32621 chore: allow setting pos for entire suite & remove column from pos 2025-05-10 22:14:56 +02:00
e029fae0b8 feat: add support for pretty/nix format
improve handling string test values
2025-05-10 21:55:08 +02:00
0a1bbae2c3 feat: general improvements and add junit "error" and "skipped" support 2025-05-04 21:54:17 +02:00
5ae5c2dd45 fix(lib): discard string context so derivations are not built instantly 2025-05-04 21:53:51 +02:00
3a974f218a refactor: improve junit report to not include escape sequences 2025-05-04 17:16:23 +02:00
4afa8a7957 refactor: rename variable to derivation to be more descriptive 2025-05-04 16:21:51 +02:00
6e17ec8838 fix: handle nix build errors gracefully 2025-05-04 16:20:57 +02:00
abac8aaf3e fix: allow snapshots to use actualDrv aswell 2025-05-04 01:11:20 +02:00
482f15c486 feat: remove nix store path prefix if used in flakeModule 2025-05-03 22:23:05 +02:00
27696c02bc test: add drv test 2025-05-03 22:22:39 +02:00
4772c789d9 chore: add CI to dogfood 2025-05-03 22:08:50 +02:00
c1c19c324d chore: initial prototype 2025-05-03 22:05:29 +02:00