Commit Graph

73 Commits (master)

Author SHA1 Message Date
Frédéric Matte 07c60bc08f Update chalk 2025-06-02 19:02:04 -04:00
Frédéric Matte 17ce51ff80 Add bin part 2 2025-06-02 19:01:21 -04:00
Frédéric Matte a2787c623d Bump version 2025-06-02 19:01:08 -04:00
Frédéric Matte ee6ef75765 Reverse test name and the line 2025-06-02 18:59:06 -04:00
Frédéric Matte d9786a78d0 Show totalError 2025-06-02 18:58:27 -04:00
Frédéric Matte 1b53b9854b Show at for all test 2025-06-02 18:56:57 -04:00
Frédéric Matte b9a01eed3f Extract showError 2025-06-02 18:55:46 -04:00
Frédéric Matte cdd8e8c8aa Use folder provided 2025-06-02 18:50:01 -04:00
Frédéric Matte ccd64a4367 Extract walkDir 2025-06-02 18:50:01 -04:00
Frédéric Matte 46282ac834 Await notify 2025-06-02 16:04:54 -04:00
Frédéric Matte 4fa6686a74 Add bin
To do npx metaltest in another projet to run all test
2025-06-02 16:03:58 -04:00
Frédéric Matte 1df35e971a Add mocking module 2025-06-02 15:51:28 -04:00
Frédéric Matte 05cc68d84c Remove command 2025-05-11 16:31:34 -04:00
Frédéric Matte b8d85b036e Move runifmain in test 2025-05-11 16:23:02 -04:00
Frédéric Matte a38c1dd2f1 Show stats and the end of a run 2024-10-11 13:38:34 -04:00
Frédéric Matte 149be7074d Pass the test obj to the test function 2024-10-11 13:18:05 -04:00
Frédéric Matte a71feba251 Extract the log function 2024-10-11 13:08:41 -04:00
Frédéric Matte f60f1b34e9 Remove space seperator to shorten the succes 2024-10-11 12:57:32 -04:00
Frédéric Matte bd3fc65f59 Run suite with npx
In a project terminal run "npx metaltest" to run the suite of test

If you want to wath you can use nodemon like "nodemon --exec npx metaltest"
2024-10-11 12:40:22 -04:00
Frédéric Matte ac5c61b9f5 Release a new version 2023-09-30 05:02:43 -04:00
Frédéric Matte 315fc7281c Follow Symlink 2023-09-30 05:00:31 -04:00
Frédéric Matte b9a8b2c30c Change the param name to clarify the intent 2023-09-30 05:00:07 -04:00
Frédéric Matte e3c8fceb42 Use the default reporters 2023-09-30 04:59:01 -04:00
Frédéric Matte 4f096bd848 You can pass the tests directly 2023-09-30 04:56:59 -04:00
Frédéric Matte 73b1b24e71 Make summary and error the default reporters 2023-09-30 04:54:07 -04:00
Frédéric Matte eade7e15b3 Ignore specific file when walking 2023-01-03 23:58:50 -05:00
Frédéric Matte 07f0e2a084 The total is now in oneline 2022-12-30 13:54:11 -05:00
Frédéric Matte c91f4a466b Extract percent function 2022-12-30 13:52:05 -05:00
Frédéric Matte 9f2890ce32 Seperate label from value 2022-12-30 13:44:56 -05:00
Frédéric Matte 90b20029c9 Add skip feature 2022-12-30 13:42:42 -05:00
Frédéric Matte 5e6e43930c Remove Total 2022-12-30 13:34:35 -05:00
Frédéric Matte b9018ba53a Await async function 2022-12-12 02:30:29 -05:00
Frédéric Matte 05dbd28c1d Show error when running test 2022-12-07 19:28:12 -05:00
Frédéric Matte fd31f38b34 Use named capture group 2022-12-07 19:27:53 -05:00
Frédéric Matte 898d3a7abc Show errors when running a suite of test 2022-12-06 20:46:14 -05:00
Frédéric Matte 7404ce12a0 Fix stacktrace anonymous function detection 2022-12-06 20:35:45 -05:00
Frédéric Matte 05f717ae0f Bump to version v1.2.0 2022-12-06 20:21:32 -05:00
Frédéric Matte 26c100fbdb Fix error layout 2022-12-06 20:18:58 -05:00
Frédéric Matte 48bac473fc Extract stats counting 2022-12-06 20:18:42 -05:00
Frédéric Matte ded9237acc Extract stats creation 2022-12-06 20:05:29 -05:00
Frédéric Matte 0b7776957d Have a test to verify the stats 2022-12-06 20:03:40 -05:00
Frédéric Matte 8b1a637b3c Fix assert 2022-12-06 19:56:49 -05:00
Frédéric Matte 0a3d08244a Use regex to parse AssertionError 2022-12-06 12:58:30 -05:00
Frédéric Matte 241e9cb516 Log succeeded test 2022-12-06 12:55:41 -05:00
Frédéric Matte 6e4705c864 Simplify reporter interface 2022-12-05 22:44:47 -05:00
Frédéric Matte e85684bd16 Rename error 2022-12-05 22:41:37 -05:00
Frédéric Matte f59a4923a0 Introduce notify reporter 2022-12-05 22:38:52 -05:00
Frédéric Matte 850240e9ef Rename to summaryreporter 2022-12-05 22:26:51 -05:00
Frédéric Matte 6609486566 Use stats to count the number of test 2022-12-05 22:22:58 -05:00
Frédéric Matte a46c2d73c8 Add test suite 2022-12-05 22:21:18 -05:00