Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Centigrade/ngtx
ngtx stands for "Angular Testing Extensions". It is a small set of functions aiming to make your life easier when testing Angular components. It's supposed to make your tests lean while increasing the readability by boosting the semantics of each test case.
https://github.com/Centigrade/ngtx
Last synced: 2 months ago
JSON representation
ngtx stands for "Angular Testing Extensions". It is a small set of functions aiming to make your life easier when testing Angular components. It's supposed to make your tests lean while increasing the readability by boosting the semantics of each test case.
- Host: GitHub
- URL: https://github.com/Centigrade/ngtx
- Owner: Centigrade
- License: mit
- Created: 2020-12-10T09:30:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-07T08:38:16.000Z (2 months ago)
- Last Synced: 2024-11-07T09:36:33.570Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 2 MB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-angular - ngtx - `ngtx` stands for "A**ng**ular **T**esting E**x**tensions" and is a small set of functions aiming to make your life easier when testing Angular components. (Table of contents / Angular)
- fucking-awesome-angular - ngtx - `ngtx` stands for "A**ng**ular **T**esting E**x**tensions" and is a small set of functions aiming to make your life easier when testing Angular components. (Table of contents / Angular)
README
[api]: ./docs/built-in.md
[declarativetesting]: ./docs/overview.md
[documentation]: ./docs/ngtx.md
[examples]: ./docs/examples.md
[stackoverflow]: https://stackoverflow.com/questions/tagged/ngtx
[changelog]: ./docs/changelog.md
[dry]: https://en.wikipedia.org/wiki/Don%27t_repeat_yourself![ngtx logo](./docs/media/logo.svg)
> If you have ideas how to further improve ngtx feel free to raise an issue and/or contribute.
# @centigrade/ngtx
![](https://github.com/Centigrade/ngtx/workflows/CI/badge.svg)
`$ npm install @centigrade/ngtx --save-dev`
ngtx stands for "A**ng**ular **T**esting E**x**tensions" and is a small set of functions aiming to make your life easier when testing Angular components. It's supposed to make your tests lean while increasing the readability by boosting the semantics of each test case.
## Why?
All common things we do in Angular tests are quite verbose. We often find ourselves writing stuff that does not express our intensions, but really are just steps on our way to our test-goal. Furthermore, while we care about production code to be clean and easy to understand, our testing code is left WET instead of [DRY] and hard to understand on the first glance.
We can do better and we think we should. ngtx is meant to give you the necessary tools to write super-expressive test cases that focus on the semantics rather than on imperative testing-code. Get onboard and start writing your tests declarative, to make the most of your time and code.
## Compatibility Table
| ngtx | Angular |
| ------- | ------- |
| 2.5.0 | >= 17 |
| < 2.5.0 | >= 13 |> For version details see the [changelog].
## Getting Started
New to ngtx? Let's get you started with these links:
- [Getting Started / First Steps][declarativetesting]
Having questions or issues using ngtx? You may want to take a look at this:
- [Examples][examples]
- [StackOverflow][stackoverflow]## Contributing
If you know and like ngtx we would love for you to contribute by either giving us feedback on issues or missing features or even by helping us implement already [existing issues](https://github.com/Centigrade/ngtx/issues). If you have ideas how to improve our workflow you're also welcome to share it with us.
## Team
- Julian Lang ([GitHub: JulianLang](https://github.com/JulianLang), author)
- Patrick-Andre Decker