Intro Kurtis to Judson
-
pull request specific intances heroku for json
-
version apis
-
contact tests
-
talk to an external dependency
-
isolate the changes
http://matthewlehner.net/rails-api-testing-guidelines/ http://blog.carbonfive.com/2012/03/18/how-to-test-external-apis/ https://robots.thoughtbot.com/how-to-evaluate-your-rails-json-api-for-performance-improvements http://www.mikeball.us/blog/rails-api-integration-tests/ http://stackoverflow.com/questions/30852006/the-correct-way-to-version-rails-3-apis
###JSON server mock servers
- https://blog.risingstack.com/the-react-way-getting-started-tutorial/
- https://facebook.github.io/react/docs/tutorial.html
- https://www.airpair.com/reactjs/posts/reactjs-a-guide-for-rails-developers
- https://hackhands.com/react-rails-tutorial/
- https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=react+rails+tutorial
string to hash http://www.java2s.com/Code/Ruby/String/Convertastringtoahash.htm
unit test - spring
sytemtest
acceptance (tests you have most confidence in)
integration
unit tests (most important?)
good testing pattern use all
testing apis
smoke testing
- http://blog.quickpeople.co.uk/2012/09/11/failing-fast-in-rails-with-a-smoke-test-initializer/
- Smoke testing (electrical) looking for smoke when powering electrical items for the first time
- Smoke testing (mechanical) the practice of using smoke to test for leaks
- Smoke testing (software) trying the major functions of software before carrying out formal testing
- Smoke testing (lean startup) testing for market demand of a value proposition prior to building a functioning product or service
- Theatrical smoke and fog#Smoke testing ensuring smoke machines will not set off smoke alarms
humans - kaos engines
if you change the implementatoin but not the api the tests should still pass
concurrency - Rob Pike
race condition - an undesirable situation that occurs when a device or system attempts to perform two or more operations at the same time, but because of the nature of the device or system, the operations must be done in the proper sequence to be done correctly. https://en.wikipedia.org/wiki/Race_condition
background workers - https://ryanboland.com/blog/writing-your-first-background-worker/ https://www.ruby-toolbox.com/categories/Background_Jobs https://devcenter.heroku.com/articles/background-jobs-queueing
Translate what you know to the new thing.
understand fundemental http spec puts request to endpoint aplly practices to a queu set list array rudimentary design patterns singleton - what does it mean
explore thing about the satc
what is Active Record doing? Design Patten orm positives and negatives of active record why is it doing that? http spec
similarities through looking at different languages curiosity and ownership gang of four aptitude solve problem replicate a pattern