Commit Graph

26 Commits

Author SHA1 Message Date
Donovan Glover
98e88cd6a7
tests: Improve internal docs 2024-03-30 08:33:53 -04:00
Donovan Glover
771a97ef39
tests: Add option to exclude files from imports
Note that these tests were originally made to prevent dead code from
being in the repository, although a proper coverage solution would
likely be more useful long-term.
2024-03-30 08:32:41 -04:00
Donovan Glover
f315ce42f6
chore: Run deno fmt 2023-08-31 11:53:43 -04:00
Donovan Glover
824b710eb9
tests: Abstract logic into separate file 2023-08-31 11:50:27 -04:00
Donovan Glover
0f9ea294c2
tests: Complete migration to TypeScript/Deno
Well, that was easy.
2023-08-31 11:48:26 -04:00
Donovan Glover
0976968977
tests: Abstract assertion functionality
Also uses "async function" since I personally find that easier to skim
and know that it's a function.
2023-08-31 11:43:21 -04:00
Donovan Glover
fb7694a844
meta: Begin re-writing tests in TypeScript/Deno
2 months ago, I figured out how to make Crystal work on NixOS and made
an upstream PR to fix Crystal being unable to find -lpcre. Unfortunately,
that change hasn't been merged yet and I even encountered a core dumped
error when trying to build Crystal myself recently.

Although people may be busy, I am concerned about the popularity of
Crystal relative to other languages. It could be the case that the build
was broken for so long precisely because no one used Crystal, and that
the language isn't popular enough to generate comments on the patch either.

In any case, JavaScript/TypeScript is here to stay, and it certainly has
better tooling and community support than Crystal at the moment. Deno
has been going strong for a few years now, and now that I know Rust, I
can also contribute to it if I want to.
2023-08-31 11:31:37 -04:00
Donovan Glover
6e0d28e24a
tests: Remove unused requires 2023-07-16 18:17:02 -04:00
Donovan Glover
a3ca695d4e
tests: Remove hint
At some point this broke, although imports should be changed
infrequently enough that any failures should be trivial to resolve.
2023-07-09 22:25:51 -04:00
Donovan Glover
ef7cac947e
tests: Remove unused import 2023-07-09 17:47:51 -04:00
Donovan Glover
44b6e345d1
tests: Remove rofi check 2023-07-06 21:43:02 -04:00
Donovan Glover
1c15106231
tests: Remove joshuto check
No longer needed since v0.9.5 was released.
2023-07-04 18:59:21 -04:00
Donovan Glover
79f4ae0296
tests: Add tests for containers and specializations 2023-06-22 07:26:19 -04:00
Donovan Glover
92f057929a
meta: Flatten tests directory 2023-06-22 07:25:13 -04:00
Donovan Glover
181ea09092
meta: Use separate directory for home-manager modules 2023-06-16 08:13:34 -04:00
Donovan Glover
e492d80d0b
tests: Differentiate between local and online tests 2023-06-10 20:07:39 -04:00
Donovan Glover
9dacce9704
tests: Split methods into separate files 2023-06-10 10:24:47 -04:00
Donovan Glover
80e2052651
tests: Add tests for overlays 2023-06-10 09:48:14 -04:00
Donovan Glover
c91d02adc0
tests: Modularize import checker 2023-06-10 09:37:52 -04:00
Donovan Glover
36ddba7e9b
tests: Only import modules that exist 2023-06-10 09:27:36 -04:00
Donovan Glover
59c19f1e7c
tests: Add test for rofi overlay 2023-06-09 09:06:04 -04:00
Donovan Glover
b79b1d3672
tests: Simplify 2023-06-08 20:58:08 -04:00
Donovan Glover
6f32f06b3d
tests: Use more descriptive descriptions 2023-06-08 19:58:18 -04:00
Donovan Glover
bf2cdf2ec2
tests: Show hints after suite
This prevents interfering with the test output while tests are running.
2023-06-08 19:48:02 -04:00
Donovan Glover
cfcb2033a8
tests: Ensure latest joshuto commit 2023-06-08 19:11:40 -04:00
Donovan Glover
d137d3342c
meta: Add tests
Tests help guarantee that I don't forget to do something that I should
have done, such as importing a certain nix module.
2023-06-08 17:15:58 -04:00