1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
aad9afb52b 🤖 Bumped version to 0.1.2
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2025-03-05 09:54:51 +01:00
524e0bc9ce 🤖 Repository layout updated to latest version
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2025-03-05 09:54:18 +01:00
3 changed files with 29 additions and 1 deletions
README.mdsetup.py
standardize_test_format

View File

@ -13,6 +13,20 @@ Tool for standardizing Partisia's Java tests.
Is capable of migrating from Javadoc based property specification to the Is capable of migrating from Javadoc based property specification to the
`@DisplayName` specification and back. `@DisplayName` specification and back.
## Usage
Convert tests with `@DisplayName` to Javadoc:
```bash
python -m standardize_java_text --javadoc --only-displayname FILE...
```
It it recommended that you do this with no unstaged changes, to more easily
verify the result.
You may need to call your formatting tool afterwards, as the converter doesn't
take formatting into account.
## Dependencies ## Dependencies
This project does not have any dependencies 😎 This project does not have any dependencies 😎

View File

@ -17,6 +17,20 @@ Tool for standardizing Partisia's Java tests.
Is capable of migrating from Javadoc based property specification to the Is capable of migrating from Javadoc based property specification to the
`@DisplayName` specification and back. `@DisplayName` specification and back.
## Usage
Convert tests with `@DisplayName` to Javadoc:
```bash
python -m standardize_java_text --javadoc --only-displayname FILE...
```
It it recommended that you do this with no unstaged changes, to more easily
verify the result.
You may need to call your formatting tool afterwards, as the converter doesn't
take formatting into account.
""".strip() """.strip()
PACKAGE_DESCRIPTION_SHORT = """ PACKAGE_DESCRIPTION_SHORT = """

View File

@ -1 +1 @@
__version__ = '0.1.1' __version__ = '0.1.2'