-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b18385
commit f075ebc
Showing
5 changed files
with
45 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ target | |
Cargo.lock | ||
tmp_test* | ||
env/ | ||
**.egg-info | ||
|
||
|
||
# Dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.poetry] | ||
name = "scala_test" | ||
version = "0.0.1" | ||
description = "Rules to migrate 'scaletest'" | ||
# Add any other metadata you need | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
polyglot_piranha = "*" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "*" | ||
|
||
# [tool.poetry.scripts] | ||
# scala_test = "scala_test.main:main" | ||
|
||
[tool.poetry.scripts."scala_test"] | ||
main = "scala_test.main:main" | ||
|
||
[tool.poetry.scripts."pytest"] | ||
main = "pytest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# `scalatest` Migration Plugin | ||
|
||
## Usage: | ||
``` | ||
python3 plugins/scala_test/main.py -h | ||
usage: main.py [-h] --path_to_codebase PATH_TO_CODEBASE | ||
Migrates scala tests!!! | ||
options: | ||
-h, --help show this help message and exit | ||
--path_to_codebase PATH_TO_CODEBASE | ||
Path to the codebase directory. | ||
``` | ||
|
||
## Test | ||
``` | ||
pytest plugins/scala_test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.