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

Added TCK tests for Subscriber and Processor. #8

Merged
merged 1 commit into from
Oct 29, 2014
Merged

Added TCK tests for Subscriber and Processor. #8

merged 1 commit into from
Oct 29, 2014

Conversation

emanuelpalm
Copy link
Contributor

I've hooked Subscriber into SubscriberBlackboxVerification and SubscriberWhiteboxVerification. I also attempted at creating a SubjectProcessor class which wraps a Subject and uses it as a Processor, but I keep getting wierd test results.

Lastly, I haven't yet figured out a good way to actually test the concrete onSubscribe handler, which can be seen here.

If this seems like a good start, then go ahead and merge on. Either way I would gladly accept some thoughts or guidelines I could continue to work with.

By the way, current rest results are as follows:

152 tests completed, 22 failed, 59 skipped

@ldaley
Copy link
Collaborator

ldaley commented Oct 9, 2014

Hi @emanuelpalm

Just wanted to let you know I have looking at this on my todo list. I'll get to it in the next day or so and provide what feedback I can.

@emanuelpalm
Copy link
Contributor Author

@alkemist Very much appreciated. Thank you!

@ldaley
Copy link
Collaborator

ldaley commented Oct 29, 2014

Going to merge, and then take a look.

ldaley added a commit that referenced this pull request Oct 29, 2014
Added TCK tests for Subscriber and Processor.
@ldaley ldaley merged commit d0e6add into ReactiveX:0.x Oct 29, 2014
@emanuelpalm
Copy link
Contributor Author

@alkemist Alright. Thanks!

@ldaley
Copy link
Collaborator

ldaley commented Oct 29, 2014

@emanuelpalm I did some more work on this, and got things a bit greener.

Some of the processor tests are still not passing. There are failing tests for the whitebox subscriber tests too that I've commented out because I think they're invalid tests.

Apologies for making the changes rather than giving you feedback, but the only way I was able to work out what to do was to experiment.

@emanuelpalm
Copy link
Contributor Author

@alkemist No problem! I'm glad my contribution made some difference at all!

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