-
Notifications
You must be signed in to change notification settings - Fork 279
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
Generic scala_test rule #959
Conversation
I'll take a look once we finalize the other PRs, ok? |
This PR will address #951 (If I understand it correctly). Lucid is +1 for this change, we use specs2 for all Scala tests but Let's wait until all the split off PRs are merged. @ittaiz what are the PRs you are waiting on to finalize? |
for one- #1005 |
It will happen :). I've been busy! I'd like to get this PR sorted out and then use any future time for reviews and shepherding through work by other folks. |
👍 Just a few thoughts- |
Status? |
Good question. @andyscott can you rebase and answer my questions above? |
Sure thing, I'll go through this tomorrow.
…On Sun, May 10, 2020, 19:45 Ittai Zeidman ***@***.***> wrote:
Good question. @andyscott <https://github.com/andyscott> can you rebase
and answer my questions above?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACLYW7IIIOOIE4J7EJKTETRQ5RE3ANCNFSM4KL3OBHA>
.
|
Any news? |
3097001
to
71b3a53
Compare
I should have this cleaned up today. Regarding your questions @ittaiz:
Test discovery is done by scanning the classpath and identifying classes/modules that satisfy the SBT testing interface.
I'm not sure, I haven't tried it.
I haven't explored extending this for test filtering, so I'm not sure. I don't have time to work on IDE integration or test filtering. I suggest we do one of two things:
I'm biased towards option 1, as the functionality is marked unstable/experimental and it gives closure to this PR. |
71b3a53
to
f112b01
Compare
I'll take a look this weekend and see what we can do. Can you get the build to pass? |
Yep. I need to do a few more fixes, and then there's some obvious cleanup
and refactoring needed too.
…On Sun, May 31, 2020, 12:05 Ittai Zeidman ***@***.***> wrote:
I'll take a look this weekend and see what we can do. Can you get the
build to pass?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACLYW2RUGJIAQXLECLCEDDRUKS55ANCNFSM4KL3OBHA>
.
|
Ok.
LMK when to look.
On Sun, 31 May 2020 at 22:49 Andy Scott ***@***.***> wrote:
Yep. I need to do a few more fixes, and then there's some obvious cleanup
and refactoring needed too.
On Sun, May 31, 2020, 12:05 Ittai Zeidman ***@***.***>
wrote:
> I'll take a look this weekend and see what we can do. Can you get the
> build to pass?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#959 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AACLYW2RUGJIAQXLECLCEDDRUKS55ANCNFSM4KL3OBHA
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKQQF6AYKJ6ZBW7G7WFBALRUKYCRANCNFSM4KL3OBHA>
.
--
*Ittai Zeidman*
40 Hanamal street, Tel Aviv, Israel
<http://www.wix.com>
|
We're getting closer! if you have time, it might be good to begin reading through the code to provide feedback on organization. Separately, I am going to read through my own implementation (it's been a few months since I've dug into the Scala part of this) and add comments. |
I’ll make time over the weekend, really swamped until then
On Tue, 2 Jun 2020 at 2:21 Andy Scott ***@***.***> wrote:
We're getting closer!
if you have time, it might be good to begin reading through the code to
provide feedback on organization. Separately, I am going to read through my
own implementation (it's been a few months since I've dug into the Scala
part of this) and add comments.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKQQF33JP2XWIWDSJAB5R3RUQZYXANCNFSM4KL3OBHA>
.
--
*Ittai Zeidman*
40 Hanamal street, Tel Aviv, Israel
<http://www.wix.com>
|
closing as stale, feel free to reopen |
Description
Adds a new
scala_test
rule that supports the SBT testing interface.Initially I would like to have the rule merged as "experimental" or "unstable" so folks can begin using it in larger codebase and we can iterate and improve upon the implementation.
Here's some sample output where you can see ScalaTest, Scalacheck, and JUnit all running in the same target:
I'll add a detailed description once I get this working.
Note: This branch contains a lot of refactoring and cleanup that I've encountered while building the new rule. These changes have been split off into other PRs. Depending on their merge status, they may or may not be bloating the diffs here.
Motivation
Make
scala_test
support any testing library that implements the SBT testing interface. Ideally we can get rid of the three separate test rules and three corresponding test runners we currently have and use something generic like this.