@cementic/cementic-test 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_OF_CONDUCT.md +46 -0
- package/CONTRIBUTING.md +61 -0
- package/README.md +229 -301
- package/dist/cli.js +666 -186
- package/dist/cli.js.map +1 -1
- package/package.json +6 -2
- package/scripts/postinstall-banner.cjs +14 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as contributors and maintainers pledge to make participation in the CementicTest community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for this project include:
|
|
12
|
+
|
|
13
|
+
- demonstrating empathy and kindness toward other people
|
|
14
|
+
- being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
- giving and gracefully accepting constructive feedback
|
|
16
|
+
- taking responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
- focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
- the use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
- trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
- public or private harassment
|
|
24
|
+
- publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
- other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Project maintainers are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all project spaces and also applies when an individual is officially representing the project in public spaces. Examples of representing the project include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project maintainers through the repository hosting platform or the project contact channels. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
+
|
|
41
|
+
All project maintainers are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
+
|
|
43
|
+
## Attribution
|
|
44
|
+
|
|
45
|
+
This Code of Conduct is adapted from the Contributor Covenant, version 2.1:
|
|
46
|
+
https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
package/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Thanks for contributing to CementicTest CLI.
|
|
4
|
+
|
|
5
|
+
## What to contribute
|
|
6
|
+
|
|
7
|
+
Useful contributions include:
|
|
8
|
+
|
|
9
|
+
- bug fixes
|
|
10
|
+
- test coverage improvements
|
|
11
|
+
- CLI workflow improvements
|
|
12
|
+
- generator accuracy improvements
|
|
13
|
+
- documentation updates
|
|
14
|
+
- template updates for scaffolded projects
|
|
15
|
+
|
|
16
|
+
If your change affects generated output, command behavior, or project scaffolding, include tests or a clear explanation of why tests are not practical.
|
|
17
|
+
|
|
18
|
+
## Local setup
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install
|
|
22
|
+
npm run build
|
|
23
|
+
npm test
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Development workflow
|
|
27
|
+
|
|
28
|
+
1. Create a branch for your change.
|
|
29
|
+
2. Make the smallest coherent change that solves the problem.
|
|
30
|
+
3. Run `npm test`.
|
|
31
|
+
4. If your change affects generation, also verify a manual `tc -> normalize -> gen -> test` flow.
|
|
32
|
+
5. Update docs when user-facing behavior changes.
|
|
33
|
+
|
|
34
|
+
## Manual smoke flow
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
mkdir demo
|
|
38
|
+
cd demo
|
|
39
|
+
|
|
40
|
+
ct new sample --lang ts --no-browsers
|
|
41
|
+
cd sample
|
|
42
|
+
|
|
43
|
+
ct tc url https://mini-bank.testamplify.com/login --ai --feature "Login" --count 1
|
|
44
|
+
ct normalize ./cases --and-gen --lang ts
|
|
45
|
+
ct test
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Pull requests
|
|
49
|
+
|
|
50
|
+
Please make sure your pull request includes:
|
|
51
|
+
|
|
52
|
+
- a short summary of the behavior change
|
|
53
|
+
- any relevant tests
|
|
54
|
+
- documentation updates when needed
|
|
55
|
+
- notes about manual verification if generation behavior changed
|
|
56
|
+
|
|
57
|
+
## Issues and discussion
|
|
58
|
+
|
|
59
|
+
- Bugs and feature requests: use the GitHub issue tracker
|
|
60
|
+
- Community and product updates: https://t.me/+Wbx7oK7ivqgxZGJh
|
|
61
|
+
- Website and upcoming web app: https://cementic.testamplify.io/
|