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

create DisciplineFSuite #528 #548

Merged

Conversation

bwiercinski
Copy link
Contributor

@Baccata
Copy link
Contributor

Baccata commented Jul 12, 2022

I think it's good. Let's see how it looks like in tests 😄

@bwiercinski bwiercinski force-pushed the issue528_effectful_discipline branch 2 times, most recently from 38d7e75 to 6b3bee1 Compare July 13, 2022 13:23
@bwiercinski
Copy link
Contributor Author

@Baccata can you check it out. i was managed to implement it using RunnableSuite. it works well both in sbt and in intellij, but with that price I had to reimplement WeaverRunner. now testDescriptions is evaluated each time instead of lazy val. are you ok with that?

if it is ok I will fix JS tests. or maybe you have more clever idea

@bwiercinski bwiercinski force-pushed the issue528_effectful_discipline branch from 6b3bee1 to d077974 Compare July 13, 2022 13:33
@Baccata
Copy link
Contributor

Baccata commented Jul 14, 2022

@bwiercinski , mmm, I'm gonna have to give it a think. I'll get back to you next week

@bwiercinski
Copy link
Contributor Author

did you run it? is reevaluating testDescriptions each time a big problem? maybe you know better edgecases using junit api with intellij

@Baccata
Copy link
Contributor

Baccata commented Jul 20, 2022

maybe you know better edgecases using junit api with intellij

I'm actually not certain ... did you try to run a DisciplineF spec with Intellij ? If you could provide a screen capture to see what it looks like, that'd be great, with several tests/rule sets being tested. (assuming you're an Intellij user, which I'm not, and I've uninstalled Intellij a while ago, would rather not have to download it again).

@bwiercinski
Copy link
Contributor Author

as they are evaluated they appearing on the GUI, firstly 1 of 1 tests passed, then 2/2 and so on. they appear in the order as they are computed, but i can easily sort them by name by using a button. not best but looks good.
image

using sbt:
image

non discipline tests are working as usual
image

@Baccata
Copy link
Contributor

Baccata commented Jul 20, 2022

Okay, I think it's good enough for me. Proceed with some tests ^^

@bwiercinski
Copy link
Contributor Author

all passed :)

@Baccata
Copy link
Contributor

Baccata commented Jul 25, 2022

Thanks @bwiercinski, I'm not forgetting you, I've just been incredibly busy. I'll review later this week

@Baccata
Copy link
Contributor

Baccata commented Jul 29, 2022

Thanks for this !

@Baccata Baccata merged commit a318e98 into disneystreaming:master Jul 29, 2022
@bwiercinski
Copy link
Contributor Author

thanks :) , when you will release it?

@Baccata
Copy link
Contributor

Baccata commented Jul 29, 2022

@bwiercinski
Copy link
Contributor Author

i screwed up when using synchronized. monitors used on synchronized are vars and eventually synchronization doesn't work. it only matters when using intellij. i will make a new PR with a fix

@Baccata
Copy link
Contributor

Baccata commented Jul 29, 2022

@bwiercinski thank you. Intellij's integration does make things hard

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.

None yet

2 participants