An open API service indexing awesome lists of open source software.

https://github.com/Xunnamius/test-utils

๐Ÿงช Utilities for improved DX in various testing environments
https://github.com/Xunnamius/test-utils

argv env fixture jest mock test testing utilities

Last synced: 2 months ago
JSON representation

๐Ÿงช Utilities for improved DX in various testing environments

Awesome Lists containing this project

README

        



Utilities for improved DX in various testing environments


[![Black Lives Matter!][x-badge-blm-image]][x-badge-blm-link]
[![Last commit timestamp][x-badge-lastcommit-image]][x-badge-repo-link]
[![Source license][x-badge-license-image]][x-badge-license-link]
[![Uses Semantic Release!][x-badge-semanticrelease-image]][x-badge-semanticrelease-link]


# test-utils (monorepo)

Monorepo for the test-utils project containing utilities for improved DX in Jest
and similar testing environments.

---

- [Packages](#packages)
- [Contributing and Support](#contributing-and-support)
- [Contributors](#contributors)


## Packages

- [@-xun/common-dummies][1] โ€” dummy projects, packages, and other testable
structures.
- [@-xun/jest][2] โ€” utilities for writing [jest][3] tests.
- [@-xun/test-mock-env][4] โ€” flexible mocking utility for `process.env`.
- [@-xun/test-mock-argv][5] โ€” flexible mocking utility for `process.argv`.
- [@-xun/test-mock-exit][6] โ€” flexible mocking and expectation utility for
`process.exit`.
- [@-xun/test-mock-fixture][7] โ€” utilities for mocking a variety of runtime
environments.
- [@-xun/test-mock-import][8] โ€” utilities for cache-busting imports and related
expectations.
- [@-xun/test-mock-output][9] โ€” flexible mocking and expectation utility for
console/stdio output.

## Contributing and Support

**[New issues][x-repo-choose-new-issue] and [pull requests][x-repo-pr-compare]
are always welcome and greatly appreciated! ๐Ÿคฉ** Just as well, you can [star ๐ŸŒŸ
this project][x-badge-repo-link] to let me know you found it useful! โœŠ๐Ÿฟ Or [buy
me a beer][x-repo-sponsor], I'd appreciate it. Thank you!

See [CONTRIBUTING.md][x-repo-contributing] and [SUPPORT.md][x-repo-support] for
more information.

### Contributors

[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)

Thanks goes to these wonderful people ([emoji
key][x-repo-all-contributors-emojis]):



Bernard
Bernard

๐Ÿš‡ ๐Ÿ’ป ๐Ÿ“– ๐Ÿšง โš ๏ธ ๐Ÿ‘€






Add your contributions



This project follows the [all-contributors][x-repo-all-contributors]
specification. Contributions of any kind welcome!

[x-badge-blm-image]: https://xunn.at/badge-blm 'Join the movement!'
[x-badge-blm-link]: https://xunn.at/donate-blm
[x-badge-lastcommit-image]:
https://img.shields.io/github/last-commit/Xunnamius/test-utils?style=flat-square
'Latest commit timestamp'
[x-badge-license-image]:
https://img.shields.io/github/license/Xunnamius/test-utils?style=flat-square
"This package's source license"
[x-badge-license-link]:
https://github.com/Xunnamius/test-utils/blob/main/LICENSE
[x-badge-repo-link]: https://github.com/Xunnamius/test-utils
[x-badge-semanticrelease-image]:
https://xunn.at/badge-semantic-release
'This repo practices continuous integration and deployment!'
[x-badge-semanticrelease-link]:
https://github.com/semantic-release/semantic-release
[x-repo-all-contributors]: https://github.com/all-contributors/all-contributors
[x-repo-all-contributors-emojis]: https://allcontributors.org/docs/en/emoji-key
[x-repo-choose-new-issue]:
https://github.com/Xunnamius/test-utils/issues/new/choose
[x-repo-contributing]: /CONTRIBUTING.md
[x-repo-pr-compare]: https://github.com/Xunnamius/test-utils/compare
[x-repo-sponsor]: https://github.com/sponsors/Xunnamius
[x-repo-support]: /.github/SUPPORT.md
[1]: ./packages/common-dummies
[2]: ./packages/jest
[3]: https://npmi.im/jest
[4]: ./packages/test-mock-env
[5]: ./packages/test-mock-argv
[6]: ./packages/test-mock-exit
[7]: ./packages/test-mock-fixture
[8]: ./packages/test-mock-import
[9]: ./packages/test-mock-output