Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Started configuring test environment #89

Merged
merged 12 commits into from
Jul 24, 2018
Merged

Conversation

spiray
Copy link
Contributor

@spiray spiray commented Jul 5, 2018

Started configuring test environment based off of the p5,js Sound librarie's config to address #65.

@MathuraMG @lm-n please review this pr and commit and confirm that this is the path that you want me to go down before i continue.

  1. I installed the necessary modules as devDependencies.
  2. I added the tasks to gruntfile.js. These are just intital loads and they will need work.
  3. I added the test folder.
  4. I added some of the env stuff needed to start testing.

I will start writing tests and push to this pr. Please let me know if you have any feedback or questions.

Thank you!

@spiray
Copy link
Contributor Author

spiray commented Jul 9, 2018

@MathuraMG @lm-n I have never configured a client side test environment and it seems that i missed a step or 2. Can i schedule a time with one or both of you to get the environment up and running and then i can write tests on my own...?

@MathuraMG
Copy link
Collaborator

@spiray - sure, does sometime in the evening this week work for you?

@spiray
Copy link
Contributor Author

spiray commented Jul 10, 2018

Yeah, I can do either tonight after 7:30 or the same time on Thursday.

@MathuraMG
Copy link
Collaborator

@spiray I can do 9pm both days!

@spiray
Copy link
Contributor Author

spiray commented Jul 16, 2018

@MathuraMG See the last 2 commits. Can you please merge these if they are all successful for you and then I will continue with the more complex tests within the gridInterceptor. These were also just for functionality and i will clean up the code style as i move along.

@MathuraMG
Copy link
Collaborator

@spiray Sorry I missed this! Doing it today

@@ -1,41 +1,77 @@
/* global module */
Copy link
Collaborator

Choose a reason for hiding this comment

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

hey @spiray - question - is the tab space set to 4 on your editor or is it the lint settings?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@MathuraMG I fixed it an recommitted and i set a new rule in the eslint config to only allow tabs and set tabs to 2 spaces in my editor. Do you have a better way of forcing the proper indentation?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Setting it on eslint is perfect. I think if we make it "indent": [2, 2] then, it will be 2 spaces all over.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, change made in last commit and i linted the tests and src folder. Let me know if you need anything else changed before merging. Thanks

@MathuraMG
Copy link
Collaborator

@spiray - looks great! Just one super silly question on the tabbing. If you could just check that ill merge this asap

@MathuraMG MathuraMG merged commit a54c77d into processing:master Jul 24, 2018
@spiray spiray deleted the test-config branch July 25, 2018 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants