Skip to content

Gpii 36#48

Closed
kaspermarkus wants to merge 7 commits intoGPII:masterfrom
kaspermarkus:GPII-36
Closed

Gpii 36#48
kaspermarkus wants to merge 7 commits intoGPII:masterfrom
kaspermarkus:GPII-36

Conversation

@kaspermarkus
Copy link
Member

Yura or Antranig,

Could you review this pull request? Testing framework is now a node module and the tests are updated to use that. Also, the old and hopelessly outdated integration test has been removed, soon to be replaced by a newer and working version.

~Kasper

gpii/index.js Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Kasper, I believe we should not include testFramework as part of universal node_module. Given that this module is "require"ed for production we don't want to load the code that is specific to testing.

amb26 and others added 2 commits September 19, 2012 00:17
* GPII-16:
  GPII-16: Added configuration for overriding CouchDB data source type when in development mode.
  GPII-16: Updated couchdb data source.
  GPII-16: Updated couchdb data source to handle all id and rev business internally.
@yzen
Copy link
Member

yzen commented Sep 25, 2012

So I wonder if it is sensible to be able to load testFramework based on NODE_ENV variable. So for example run your test with NODE_ENV=test set. This way in our gpii/index.js file you can have an additional line that checks whether the we are running tests and only then load testFramework as part of universal. @amb26 what do you think ?

kaspermarkus added 2 commits October 2, 2012 11:24
… XML settingshandler now only requires the needed modules
….js, making everything nice and pretty for Yura to review
@kaspermarkus
Copy link
Member Author

Closing -- this pull request now replaced by #54

@kaspermarkus kaspermarkus deleted the GPII-36 branch April 22, 2015 12:39
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