Closed Shekharrajak closed 3 years ago
@Shekharrajak, We can add the tag for running testcases locally and modify the update_spec file accordingly.
Something like bundle exec rspec --tag ~local
which will exclude updating googlechart/highchart file. WDYT?
Hi @sayant1204 ,
That is good idea. Can you please try it once and open a PR accordingly.
Hello @Shekharrajak,
I solved this issue on my local repository but I am facing some issues while trying to commit this on Github. Some files are not included in .gitignore and are not on the repository itself but were created or modified while running test cases like - .rb file in adapter folder and plot.html file and vendor folder(which will be fixed with this issue). Should I include them in my git exclude file? Since I am new to this open-source and this codebase I am having trouble understanding this.
Another doubt (not related to this issue) is how can we visualize our changes in the iruby notebook?
yeah, we can add the generated files in .gitignore file. Also we can have a command to tag (annotation) to skip the testcases that generate the files (that will be tested by CI/CD tool anyways so we can have option for skipping them in local machine).
Another doubt (not related to this issue) is how can we visualize our changes in the iruby notebook?
I did not get what you want to visualize. You can run the iruby notebook (check the development workflow, contribution section, setup IRuby notebook and try running them locally).
Hi @Shekharrajak,
In the linked pull request #162, I am getting rubocop errors which I think are due to the updated version of rubocop. I solved them locally. Should I commit them in this issue itself? Other than that I am also getting errors in Travis command bundle exec rake coveralls:push
which I am unable to debug. Can you please guide me?
. Should I commit them in this issue itself
Yes!
Other than that I am also getting errors in Travis command bundle exec rake coveralls:push which I am unable to debug. Can you please guide me?
Please paste the error in PR
We don't always want to run the
update googlechart/highchart js,css file
testcase that should be run by only travis for CI/CD.We ned an option while running rspec locally to skip this test case.