Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test reports should be generated under test folder #83

Closed
shunsukew opened this issue Jan 31, 2023 · 1 comment · Fixed by #136
Closed

Test reports should be generated under test folder #83

shunsukew opened this issue Jan 31, 2023 · 1 comment · Fixed by #136
Assignees
Labels
enhancement New feature or request

Comments

@shunsukew
Copy link
Contributor

shunsukew commented Jan 31, 2023

Overview (What and Why)

Test reports should be generated under test folder instead of ./artifacts/testReports

Currently, testReports are generated at ./artifacts/testReports
But ./test/{contract name}/testReports is more appropreate.

@codespool
Copy link
Collaborator

Will handle as part of #113

@codespool codespool self-assigned this Apr 14, 2023
@codespool codespool added the enhancement New feature or request label Apr 14, 2023
@codespool codespool added this to the Swanky Winter Wonderland milestone Apr 14, 2023
@codespool codespool linked a pull request May 8, 2023 that will close this issue
@codespool codespool moved this from 🏗 In progress to 👀 In review in Swanky Suite (legacy - moved to swankyhub) May 9, 2023
codespool added a commit that referenced this issue May 17, 2023
Main feature is introducing a `--convert` flag to `init` command. (#111
)
Also handled are #113 and #83 .

Some changes to how `init` works are introduced:
- all "tasks" now get pushed into the task queue and only executed after
all the options are confirmed
- config is also gathered in the global configBuilder, and written as
the last step

To test:
- have an existing project cloned to your filesystem (for example dex,
or nft from https://github.com/swanky-dapps)
- run `swanky init proj_name --convert path_to_existing_project`
- it will check for Cargo.toml with `workspace` `members` and `exclude`
fields
- it assumes `members` are contracts, and `exclude` are extra crates
- you can also specify manually
- when done, you still need to manually adjust import paths in the
contracts' Cargo.toml

Note: the converted project is not expected to work out-of-the-box when
converted, but should require minimum adjustments.
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Swanky Suite (legacy - moved to swankyhub) May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants