Mohammad Bagher Abiat
affc6d82d6
docs: add the motivation section for more context ( #3104 )
...
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-04-05 10:05:02 +02:00
Anthony Fu
bdc06dcbc4
feat(snapshot): introduce toMatchFileSnapshot and auto queuing expect promise ( #3116 )
2023-04-03 16:03:46 +02:00
Guo Xingjun
035230b497
docs: typo ( #3114 )
2023-04-02 09:48:10 +02:00
Vladimir
446308da9d
feat!: use "concordance" package to display diff instead of using custom diff ( #2828 )
2023-03-29 14:16:52 +02:00
Mohammad Bagher Abiat
9dc6929380
feat: playwright as browser provider ( #3079 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-03-27 11:52:14 +02:00
Mohammad Bagher Abiat
280ad1ed9b
fix: spy on popup apis like alert ( #3076 )
...
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-26 10:05:12 +02:00
btea
8ac829e266
docs: update snapshot comment header ( #3062 )
2023-03-23 10:10:22 +01:00
Azri Kahar
051bb65719
docs: fix cac's dot notation reference link ( #3049 )
2023-03-21 09:03:47 +01:00
Azri Kahar
b0ce2325a7
docs: fix typo in browser mode guide ( #3050 )
2023-03-21 09:03:27 +01:00
Mohammad Bagher Abiat
9cdc8030d0
feat: webdriverio (+ custom providers) integration for browser mode ( #2999 )
...
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-03-20 14:37:23 +01:00
yoho
a768015e64
feat: support relative path in html report ( #2695 )
...
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-20 13:06:54 +01:00
Ari Perkkiö
63c62f9e6f
feat: --test-timeout CLI argument ( #3019 )
2023-03-18 21:55:54 +01:00
Ari Perkkiö
36087d1edf
fix: --inspect to work inside workers ( #2983 )
2023-03-15 20:44:15 +01:00
Wenzhe Wang
26265b3533
docs: add notes about migrating replaceProperty ( #2871 )
2023-03-07 18:26:56 +01:00
Karol Stawowski
cdfdb20cfa
docs: add bench command to cli documentation ( #2948 )
...
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2023-03-07 18:25:10 +01:00
Carlo Beltrame
70fa4e86fd
docs(migration): mention "vi.importActual" ( #2927 )
2023-02-28 16:11:51 +01:00
Christian Bromann
855047d511
docs: add WebdriverIO to framework comparison section ( #2894 )
2023-02-22 12:57:32 +01:00
Kristina Pchelintseva
20c1c849ac
docs: add information about built-in support for Vitest in JB IDEs ( #2865 )
2023-02-21 21:04:57 +01:00
Joshua Nussbaum
8ab33f1e97
revert: "docs: add instructions for debugging tests via terminal" ( #2869 )
2023-02-21 15:03:09 +01:00
Tom Thumb
b67a5fbdf9
docs: update snapshot section to provide details on how to use with concurrent test ( #2733 )
...
Co-authored-by: Tom Thumb <github@asdfjkalsdfla.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-02-14 18:05:21 +01:00
Trivikram Kamat
9e03f2b8ad
docs: difference from jest in snapshots with custom messages ( #2863 )
...
Fixes https://github.com/vitest-dev/vitest/issues/2853
2023-02-14 13:12:16 +01:00
Ari Perkkiö
81604bcee0
fix(coverage): custom providers to work inside worker threads ( #2817 )
2023-02-13 13:28:52 +01:00
btea
d53418450a
chore: update link attribute ( #2800 )
...
* chore: update link attribute
* chore: update
2023-02-11 14:07:58 +01:00
Cue
9a0002be7c
docs: fix broken links ( #2739 )
2023-02-11 13:47:57 +01:00
Trivikram Kamat
c29f1761ec
docs: jest <29.0.0 has config printBasicPrototype set to true ( #2830 )
2023-02-08 11:37:11 +01:00
Lioness100
2f87505ffd
docs: fix typos ( #2815 )
2023-02-08 11:30:35 +01:00
Ari Perkkiö
c0f91beba4
docs(coverage): c8 ignore hints actually work ( #2755 )
2023-02-03 10:36:46 +01:00
IKoshelev
72cb4db1a3
docs: added hint to debug via JavaScript Debug Terminal ( #2653 )
...
Added description and screenshot how to debug Vitest tests with JavaScript Debug Terminal
2023-02-03 10:36:13 +01:00
Anthony Fu
a9878c515f
docs: add docs about environmentMatchGlobs ( #2750 )
...
* docs: add docs about `environmentMatchGlobs`
* Update docs/guide/environment.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-25 16:08:48 +01:00
Mohammad Kermani
8c625d2a10
docs(cli): suggest --run flag when using vitest related with lint-staged ( #2704 )
...
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-01-23 16:50:51 +01:00
Vladimir
482b72fc5f
feat!: move test runner into a separate package ( #2721 )
...
Closes https://github.com/vitest-dev/vitest/issues/1470
2023-01-23 10:14:50 +01:00
mysteryven
8560758e83
docs: change link style and correct TypeScript ( #2709 )
2023-01-19 09:47:07 +01:00
Vladimir
8b50123014
docs: split API into separate pages ( #2635 )
...
* docs: split API into separate pages
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-16 15:54:03 +01:00
Vladimir
9b8afb204d
docs: add CLI arguments to config docs ( #2636 )
...
* docs: add CLI argu,ents to config docs
* chore: cleanup
* chore: cleanup
* Update docs/guide/cli.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2023-01-10 16:40:43 +01:00
Vladimir
7ae1417fff
feat: add more options to configure diff output ( #2522 )
...
* feat: add more options to configure diff output
* chore: add more tests for diff, cleanup
* docs: add `-` examples
* chore: cleanup
* chore: fix test and wrong "could not display diff"
* test: diff ignores undefined
* Apply suggestions from code review
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
* docs: add `--logHeapUsage` to docs
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-12-20 12:57:34 +03:00
yoho
b8f34eb8ca
feat: add html reporter based on Vitest UI ( #2444 )
...
* feat: vitest html report
* chore: copy ui to vitest dist
* feat: report copy ui dist
* feat: ui report version builder
* fix: copy file
* chore: remove
* feat: html metadata path
* feat: add declare
* feat: static file client
* feat: mock rpc
* fix: mock error
* chore: update meta
* chore: compress json
* chore: comment
* chore: update merge config
* chore: lock
* feat: remove all control command from ui
* chore: remove
* feat: report command
* feat: version tag
* chore: reset lock file
* feat: remove hooks
* chore: update
* fix: runningPromise
* chore: update debug mode and disable click on transform
* docs: report
* chore: remove the version mark
* feat: report
* fix: lint
* chore: copy ui from @vitest/ui
* chore: export report from ui
* chore: update
* fix: lint
* docs: ui html report
* feat: ensurePackageInstalled
* update
* feat: more info
* chore: improve documentation and tests
* chore: fix UI bundle size
* chore: ui tests
* perf: remove output report using the global variable to judge report mode
* chore: update
* fix: build
* fix: report
* fix: parse
* chore: fix html reporters test
* chore: don't store config in html reporter test
* chore: update ui docs
* feat: log
* chore: fix tests
* test: fix html reporter tests
* docs add vitest fo UI reporter
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2022-12-19 13:23:22 +03:00
Vladimir
b114d49f50
feat: introduce a native way to set env and globals ( #2515 )
...
* feat: introduce a native way to set env and globals
* chore: cleanup
* chore: cleanup
* chore: cleanup
* docs: cleanup
2022-12-16 16:19:17 +01:00
Anthony Fu
0967b24bc4
docs: links to video course
2022-12-15 02:10:10 +01:00
Ilya Golovin
0a78859a2b
docs: add articles, fix typo ( #2471 )
2022-12-09 08:52:21 +01:00
yoho
2657ce562a
docs: clarify installing globally ( #2397 )
...
* docs: install global
* chore: update
Co-authored-by: The Jared Wilcurt <TheJaredWilcurt@users.noreply.github.com>
* docs: npx help
* docs: update
* fix: error
Co-authored-by: The Jared Wilcurt <TheJaredWilcurt@users.noreply.github.com>
2022-12-05 15:29:40 +01:00
The Jared Wilcurt
6d75630fcc
docs: setting for coverage reports directory ( #2400 )
...
* Document setting the coverage reports directory
This took a lot of trial and error to get to work, so it should be documented to save other people the 2 hours of research it took me to get it working.
* Apply suggestions from code review
* Apply suggestions from code review
* Update docs/guide/coverage.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
* Update docs/guide/coverage.md
Co-authored-by: Anjorin Damilare <damilareanjorin1@gmail.com>
2022-12-04 19:38:16 +01:00
Ari Perkkiö
2c52c52091
docs(coverage): overall improvements ( #2412 )
...
* chore: ignore formatter on markdown files
* docs(coverage): ignoring code section
* docs(coverage): document each coverage option clearly
2022-12-03 10:31:26 +01:00
The Jared Wilcurt
a6a94ccc6d
docs: Make Vue snapshot migration clear ( #2379 )
2022-11-30 07:42:34 +08:00
Vladimir Sheremet
6b977f2dcf
docs: update .each information
2022-11-22 13:51:01 +01:00
remcovaes
39ff27dcf0
docs: update Web Test Runner comparison ( #2349 )
...
Update the comparison to Web Test Runner comparison to a new and maintained package. This will give a more honest comparison and allows developers to make more informed decision in which test framework fits them best. Also note that in the new plugin, features such as changing the viewport do work.
2022-11-21 16:50:25 +01:00
Vladimir
7c7f33d5fc
feat: add typechecking functionality ( #2107 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-11-07 23:49:15 +08:00
Anjorin Damilare
17ba76b8d1
docs: update cli docs ( #2159 )
2022-10-19 12:29:32 +02:00
Vladimir Sheremet
ce5eeec78f
docs: update minimum Vite version
2022-10-19 11:07:05 +02:00
Localhousee
8b84e1f056
docs: resolve.alias link from docs ( #2160 )
2022-10-17 06:28:56 +08:00
Ahmet Katrancı
6ca180233b
chore: typo ( #2147 )
2022-10-14 05:19:17 +08:00