sri monthly presentation 2016

10
CONTINUOUS INTEGRATION Akash Rajguru

Upload: akash-rajguru

Post on 11-Feb-2017

32 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Sri monthly presentation 2016

CONTINUOUS INTEGRATION

Akash Rajguru

Page 2: Sri monthly presentation 2016

Key topics

•Continuous integration •BDD using Jasmine •Continuous integration with jenkins

SRI Monthly Presentation 2016 | Akash Rajguru

Page 3: Sri monthly presentation 2016

Continuous Integration • Continuous Integration (CI) is a software development practice

that requires developer to integrate code into a shared repository several times a day.• Each chick-in code is then verified by an automated built,

allowing teams to detect problems early and deliver the software early.

SRI Monthly Presentation 2016 | Akash Rajguru

Page 4: Sri monthly presentation 2016

Jenkins• Is a free and open source continuous integration tool.• Continuous Build• Continuous Deployment• Testing

SRI Monthly Presentation 2016 | Akash Rajguru

Page 5: Sri monthly presentation 2016

Workflow

SRI Monthly Presentation 2016 | Akash Rajguru

Page 6: Sri monthly presentation 2016

CI benefits to Software Development• Catch bug/issue fast• Automates builds• Everybody can see what is happening.• CI leads to Continuous Deployment allowing us to deliver

software more rapidly.

SRI Monthly Presentation 2016 | Akash Rajguru

Page 7: Sri monthly presentation 2016

BDD using Jasmine• Behaviour-driven development framework for testing javascript

code.• Unit Testing Framework and Test Runner for javascript.• describe – describe Test case or suites• it – describe what system under test will be doing.• expect() – Assertions/Matchers e.g. like to be or equals to.

SRI Monthly Presentation 2016 | Akash Rajguru

Page 8: Sri monthly presentation 2016

Demo

SRI Monthly Presentation 2016 | Akash Rajguru

Page 9: Sri monthly presentation 2016

Thank You

SRI Monthly Presentation 2016 | Akash Rajguru

Page 10: Sri monthly presentation 2016

References

• https://www.docker.com/sites/default/files/RA_CI%20with%20Docker_08.25.2015.pdf• https://jasmine.github.io/2.0/introduction• https://www.youtube.com/watch?v=Lxd6JMMxuwo&t=636s• https://jenkins.io/index.html

SRI Monthly Presentation 2016 | Akash Rajguru