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

Port scripted tests from sbt/sbt #38

Merged
merged 13 commits into from
Dec 22, 2015
Merged

Port scripted tests from sbt/sbt #38

merged 13 commits into from
Dec 22, 2015

Conversation

eed3si9n
Copy link
Member

It doesn't cover all capability of build.sbt and flexibility, but it can do basic compile and file copying type of tests.

/review @Duhemm, @dwijnand

@dwijnand
Copy link
Member

Is this duplicating code with the sbt repo?

@eed3si9n
Copy link
Member Author

@dwijnand Yes. The core scripted engine is currently duplicated. I can split it out into util.

@dwijnand
Copy link
Member

If deduping into util is feasable, I think it would be preferable. Thanks.

@Duhemm
Copy link
Contributor

Duhemm commented Dec 22, 2015

I suggest we merge this as is and open an issue with a few points:

  • Have the core scripted engine in sbt/util
  • Reuse ScalaInstance
  • Implement run
  • Don't show the whole stack trace when a pending test fails

I see there are tests that are marked pending because they depend on a structure with subprojects or because they use compiler plugins. I guess these tests will be ported to sbt/sbt 1.0's build?

LGTM

@eed3si9n
Copy link
Member Author

Yea. Let's do that so you can work on them.

eed3si9n added a commit that referenced this pull request Dec 22, 2015
Port scripted tests from sbt/sbt
@eed3si9n eed3si9n merged commit 55ba479 into 1.0 Dec 22, 2015
@eed3si9n eed3si9n deleted the wip/scripted branch December 22, 2015 10:23
dwijnand pushed a commit to dwijnand/zinc that referenced this pull request Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants