AI for DevOps Engineers - Part 1: The Building Blocks of DevOps AI
DevOps is a key success factor for modern software development and we have most definitely come across AI in one way or another. The intersection of AI and
Testing can be stated as the process of validating and verifying that a computer program/application/product works as expected
BDD is a software development technique that encourages collaboration between developers, quality assurance and non-technical or business participants in a software project
Cucumber reads plain-text descriptions of application features (tests) with example scenarios and uses the scenario steps to automate interaction with the code being developed.
It helps us write great tests before we start coding!
1Feature: pay bill on-line
2
3 In order to reduce the time I spend paying bills
4 As a bank customer with a checking account
5 I want to pay my bills on-line
6
7 Scenario: pay a bill
8 Given checking account with $50
9 And a payee named Acme
10 And an Acme bill for $37
11 When I pay the Acme bill
12 Then I should have $13 remaining in my checking account
13 And the payment of $37 to Acme should be listed in Recent Payments
"Besides the application code, the infrastructure deserves tests too!"
1 # Req. 19: ssl_ciphers = 'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'
2 describe file(postgres_config_file) do
3 its(:content) do
4 should match_key_value('ssl_ciphers', "'ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH'")
5 end
6 end
7
8 # Req. 6: password_encryption = on
9 describe file(postgres_config_file) do
10 its(:content) { should match_key_value('password_encryption', 'on') }
11 end
"With Test Kitchen we can make sure that our server configurations are also tested: No manual testing anymore!"
You are interested in our courses or you simply have a question that needs answering? You can contact us at anytime! We will do our best to answer all your questions.
Contact us