Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Refactoring language tests and examples layout#132

Merged
benjchristensen merged 7 commits intoReactiveX:masterfrom
benjchristensen:language-tests-and-examples
Feb 8, 2013
Merged

Refactoring language tests and examples layout#132
benjchristensen merged 7 commits intoReactiveX:masterfrom
benjchristensen:language-tests-and-examples

Conversation

@benjchristensen
Copy link
Member

  • removed rxjava-examples as it was not working having all languages in the same project
  • started convention of having /src/examples/ in language-adaptors with first implementation being rxjava-groovy and rxjava-clojure (though the clojure one isn't compiling correctly yet)
  • moved language unit tests to actual language rather than via Java to language parsers

- testing all Groovy functionality doesn't belong as an inner class
- it was awkard to load Groovy scripts via Java (leftover from previous codebase where Groovy wasn't part of build, only a runtime library)
- establish convention for each language to have a suite of tests in /src/test
Examples have been moved into /src/examples folders of each language-adaptor subproject.
- examples are in /src/examples/clojure
- placeholder for unit tests in /src/tests
- examples are in /src/examples/groovy
benjchristensen added a commit that referenced this pull request Feb 8, 2013
Refactoring language tests and examples layout
@benjchristensen benjchristensen merged commit 6e58701 into ReactiveX:master Feb 8, 2013
@benjchristensen
Copy link
Member Author

@daveray I couldn't quite figure out the clojuresque plugin to get /src/examples building and could probably benefit from your guidance on the right way to get unit tests working in https://github.com/Netflix/RxJava/blob/master/language-adaptors/rxjava-clojure/src/test/clojure/rx/lang/clojure/observable_tests.clj

I want them to work similar to https://github.com/Netflix/RxJava/blob/master/language-adaptors/rxjava-groovy/src/test/groovy/rx/lang/groovy/ObservableTests.groovy

rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
…and-examples

Refactoring language tests and examples layout
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
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.

1 participant