Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

TestApp fix to work with multiple deps models #82

Merged
merged 8 commits into from
Sep 10, 2018
Merged

Conversation

jbcarpanelli
Copy link
Contributor

@jbcarpanelli jbcarpanelli commented Sep 7, 2018

I've renamed the TestApp model to TestHelper. It now works fine with app projects that have multiple stdlibs, as well as lib projects.

@jbcarpanelli jbcarpanelli added the status:in-progress Under development, do not merge this PR label Sep 7, 2018
Copy link
Contributor

@spalladino spalladino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far, only comment is regarding naming

@@ -8,7 +8,8 @@ import ControllerFor from '../models/network/ControllerFor';
*/
export default async function testApp(txParams = {}, networkFile = undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rename it to TestProject instead of ProjectApp, and consider supporting libs as well as apps

@jbcarpanelli jbcarpanelli added topic:tools and removed status:in-progress Under development, do not merge this PR labels Sep 10, 2018
Copy link
Contributor

@facuspagnuolo facuspagnuolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spalladino spalladino merged commit 066bd3a into next Sep 10, 2018
@spalladino spalladino deleted the fix/testapp branch September 10, 2018 15:12
spalladino pushed a commit that referenced this pull request Sep 24, 2018
* Add mock package with multiple stdlibs

* Return controller AppProject instead of App

* Rename TestApp to ProjectApp
- Rename TestApp to ProjectApp
- Fix most of TestApp tests

* Rename testApp to ProjectApp

* Switch from deployed deps to non-deployed deps

* Fix remaining tests

* Implement TestLib function
Implemented TestLib function to test Lib projects

* Unified TestLib and TestApp in favor of TestHelper
spalladino pushed a commit that referenced this pull request Sep 24, 2018
* Add mock package with multiple stdlibs

* Return controller AppProject instead of App

* Rename TestApp to ProjectApp
- Rename TestApp to ProjectApp
- Fix most of TestApp tests

* Rename testApp to ProjectApp

* Switch from deployed deps to non-deployed deps

* Fix remaining tests

* Implement TestLib function
Implemented TestLib function to test Lib projects

* Unified TestLib and TestApp in favor of TestHelper
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants