|
|
5a7053afcb
|
docs: set _file so "declared in" works correctly
|
2025-10-01 19:42:30 +02:00 |
|
|
|
56d22f4aa1
|
test: set SSL_CERT_FILE and NIX_SSL_CERT_FILE so test works in pure mode
|
2025-10-01 17:08:49 +02:00 |
|
|
|
c9618a4d9b
|
docs: update nixmkdocs, use svg for logo and favicon, add module docs
|
2025-10-01 16:43:30 +02:00 |
|
|
|
5741109cc9
|
feat: run script tests in temp dirs for slightly better sandboxing
|
2025-09-02 13:22:28 +02:00 |
|
|
|
c9298b91f4
|
chore!: default to pure mode, rename --pure flag to --impure for switching
|
2025-09-02 13:06:52 +02:00 |
|
|
|
22b43c9fe8
|
chore(flake): enable go hardening workaround
|
2025-07-31 12:27:03 +02:00 |
|
|
|
b2fb77ecc9
|
chore: clean up module a bit
|
2025-07-31 12:27:03 +02:00 |
|
|
|
0272a8b0dc
|
fix: support passing string as dir for autodiscovery
|
2025-07-31 12:27:03 +02:00 |
|
|
|
d7e4902fed
|
fix(README): fix badge
|
2025-07-31 12:27:03 +02:00 |
|
|
|
c2a1208534
|
Merge branch 'feat/module-system' into 'main'
feat: switch to module system to evaluate suites & tests
Closes #8
See merge request TECHNOFAB/nixtest!2
|
2025-06-14 17:34:53 +02:00 |
|
|
|
bc36c39b09
|
docs: document new lib functions & usage
|
2025-06-14 17:23:24 +02:00 |
|
|
|
116f905b6c
|
chore(testHelpers): remove string context in toJsonFile
|
2025-06-14 15:16:25 +02:00 |
|
|
|
4a55db9797
|
chore: add more helpers & add pos to test suite
|
2025-06-13 20:47:26 +02:00 |
|
|
|
3f1b6317b4
|
ci: remove flakeModule test job
|
2025-06-13 15:48:19 +02:00 |
|
|
|
006537e6ab
|
test: nest sample tests as fixtures in real tests
also use new test helpers
|
2025-06-13 15:46:52 +02:00 |
|
|
|
bed029f4a9
|
feat: add test helpers
default args to {}
|
2025-06-13 15:44:16 +02:00 |
|
|
|
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 |
|