Commit Graph

24 Commits

Author SHA1 Message Date
Leedehai
70aff987a5
Ignore *.pdf for typ files in tests (#2881) 2023-12-11 16:05:02 +01:00
Nathaniel Brough
9aadb18186
Add simple fuzz testing (#2581) 2023-12-05 19:26:58 +01:00
Wenzhuo Liu
61e4ad6bba
Add SVG export (#1729) 2023-08-08 12:54:13 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00
HarmoGlace
92d4450c44
Add .idea to gitignore (#514) 2023-04-01 23:31:44 +02:00
figsoda
b843ca17d8
Add Nix flake (#158) 2023-03-27 16:26:08 +02:00
Laurenz
46921a8c28 Separate test crate
This removes the not-really-cyclic dependency that confuses rust-analyzer. See also: https://github.com/rust-lang/rust-analyzer/issues/2414
2022-11-03 16:13:35 +01:00
Laurenz
23d108c8e0 Font fallback 2022-04-03 13:55:58 +02:00
Laurenz
5d5d8a21cf Bump and lock dependencies 2022-01-01 12:23:00 +01:00
Laurenz
72478946c2 Make frames serializable 📚
This also makes serialization support non-optional since it's too much feature-management for too little benefit.
2021-04-21 21:17:25 +02:00
Laurenz
4ff59baf5e VS Code extension for easier testing 🛠
This extension enables you to
- quickly open the actual and reference output for a test case to the side
- re-run the test with the click of a button
- approve the test output (moves output to reference folder and optimizes with oxipng)
2021-02-20 23:41:42 +01:00
Laurenz
05727bfc3a Reorganize tests 🔀 2021-02-20 23:34:33 +01:00
Laurenz
cc5f14193c Flip test directory structure 🔃
Move full/lang/library to the top-level as that's more ergonomic to use.
2021-01-16 15:39:25 +01:00
Laurenz
60154474ba Enable multiple tests per file 🧱 2021-01-13 14:07:38 +01:00
Laurenz
6bbedeaa2c Better tokenization testing 🌋
- Better tokenization test coverage.
- Suffix testing: Each test case is tested with many different suffixes to ensure correct token ends.
- Improves expression parsing (fixes #3).
2020-12-16 15:42:02 +01:00
Laurenz
1cbd5f3051 Refine test infrastructure
- Tests diagnostics
- More and better separated image tests
2020-12-10 22:45:45 +01:00
Laurenz
b4f809f1ea Move benchmarks into separate crate ♾
So that CI does not have to build criterion each time.
2020-11-25 19:28:04 +01:00
Laurenz
22697f0c0c Simple regression testing with file-based comparisons 2020-10-13 12:34:11 +02:00
Laurenz
d90d921a91 Remove output files which sneaked into the repository 2020-08-14 20:55:10 +02:00
Laurenz
78da2bdd5d Decoupled function parser 🔗 [WIP] 2020-01-21 17:09:31 +01:00
Laurenz
17082389ae Update gitignore 📋 2019-11-28 19:09:18 +01:00
Laurenz
f2f05e07b0 Implement space extension (multipage) 2019-10-16 21:31:14 +02:00
Laurenz
c0e4fd55e6 Create test runner which renders layouts to images 🗺 2019-10-11 17:53:28 +02:00
Laurenz
f22a307000 Extract into separate repository 🧱 2019-10-09 19:46:42 +02:00