-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate presentations from other repos (#2)
* Update README.md * Edit markdownlint config to be compatible with slidev * Add DevOpsDays Geneva 2023 slides * Migrate presentations from five-min-talks
- Loading branch information
Showing
12 changed files
with
220 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
default: true | ||
MD003: false # Heading style | ||
MD013: # Line length | ||
line_length: 300 | ||
MD022: false # Headings should be surrounded by blank lines | ||
MD024: false # Multiple headings with the same content | ||
MD025: false # Multiple top-level headings in the same document | ||
MD033: false # Inline HTML | ||
MD034: false # Bare URL used | ||
MD053: false # Link and image reference definitions should be needed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
--- | ||
theme: seriph | ||
highlighter: shiki | ||
lineNumbers: false | ||
css: unocss | ||
transition: slide-left | ||
title: Automated Testing | ||
--- | ||
|
||
# Automated Testing | ||
|
||
Want to know about one of the most important best practices in software development? | ||
|
||
--- | ||
|
||
# Objectives | ||
|
||
What can be achieved with automated testing? | ||
|
||
- 🎯 **Focus** on the real added value | ||
- 🚀 **Reduce** the Time To Market | ||
- 🛎 **Guarantee** the quality of service | ||
- 💪 **Overcome** IT complexity | ||
- 👷 **Enable** technical improvement reworks | ||
|
||
--- | ||
|
||
# Pyramid of Tests | ||
|
||
Foundation of any testing strategy | ||
|
||
<img src="/images/pyramid-test.png" alt="pyramid of tests" class="m-8 ml-30 h-80 rounded shadow" /> | ||
|
||
--- | ||
|
||
# Challenges | ||
|
||
What is difficult to have with test automation? | ||
|
||
- ⛑ **Maintenable** tests (over time) | ||
- 🏬 **Reproducible** data set | ||
- ✍ **Open** solution with contributions from non-technical people | ||
- 🧪 **Straightforward** test plan | ||
- 📖 **Comprehensive** test results | ||
- 🐛 **Investigable** errors | ||
|
||
--- | ||
|
||
# Lessons learned | ||
|
||
Known recipes for success | ||
|
||
- Tests are executed in a neutral environment (automation pipelines) | ||
- Development and testing of any change are done at the same time | ||
- Specifications are accessible and explicit | ||
- Best practices and patterns are followed while engineering the solution | ||
- Any failure in production is a perfect candidate for test automation | ||
- Focus is made on the most used and critical usecases | ||
|
||
--- | ||
|
||
# PageObject Pattern | ||
|
||
Split the code between the application features and the UI components | ||
|
||
<img src="https://www.martinfowler.com/bliki/images/pageObject/pageObject.png" alt="Page Objects, HTML Wrapper" class="m-8 ml-50 h-80 rounded shadow" /> | ||
|
||
--- | ||
|
||
# BDD (Behavior driven development) | ||
|
||
An Agile software development process that encourages collaboration | ||
|
||
<img src="/images/bdd.png" alt="Automated Tests, Executable Specifications, Living Documentation" class="m-8 ml-60 h-80 rounded shadow" /> | ||
|
||
--- | ||
|
||
# Los 3 amigos | ||
|
||
Business, Testing, Development | ||
|
||
<img src="/images/los-3-amigos.jpg" alt="Los 3 Amigos" class="ml-70 h-100 rounded shadow" /> | ||
|
||
--- | ||
|
||
# Gherkin language | ||
|
||
Describe any process in simple words | ||
|
||
```gherkin | ||
Feature: Guess the word | ||
# The first example has two steps | ||
Scenario: Maker starts a game | ||
When the Maker starts a game | ||
Then the Maker waits for a Breaker to join | ||
# The second example has three steps | ||
Scenario: Breaker joins a game | ||
Given the Maker has started a game with the word "silky" | ||
When the Breaker joins the Maker's game | ||
Then the Breaker must guess a word with 5 characters | ||
``` | ||
|
||
--- | ||
|
||
# Open-source tooling | ||
|
||
Most used projects | ||
|
||
- [**Cucumber**](https://cucumber.io/) ([GitHub org](https://github.com/cucumber)) | ||
- [**Cypress**](https://www.cypress.io/) ([code](https://github.com/cypress-io/cypress) _★ 42.6k_) | ||
- [**Jest**](https://jestjs.io/) ([code](https://github.com/facebook/jest) _★ 41.4k_) | ||
- [**Playwright**](https://playwright.dev/) ([code](https://github.com/microsoft/playwright) _★ 47.7k_) | ||
- [**Selenium**](https://www.selenium.dev/) ([code](https://github.com/SeleniumHQ/selenium) _★ 25.8k_) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
theme: seriph | ||
highlighter: shiki | ||
lineNumbers: false | ||
css: unocss | ||
transition: slide-left | ||
title: Code Quality | ||
--- | ||
|
||
# Code Quality | ||
|
||
--- | ||
|
||
# MegaLinter | ||
|
||
<Youtube id="NauVD4z-cMA" /> | ||
|
||
--- | ||
|
||
# EditorConfig | ||
|
||
<Youtube id="7sdHJtfTGa4" /> | ||
|
||
--- | ||
|
||
# Sonar | ||
|
||
<Youtube id="Mha6VjmJyus" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
theme: seriph | ||
highlighter: shiki | ||
lineNumbers: false | ||
css: unocss | ||
transition: slide-left | ||
title: Presentation-as-code | ||
background: /images/presentation-as-code-ai-20230306.jpg | ||
--- | ||
|
||
# Presentation-as-code | ||
|
||
Yes, we can create and manage slides from a source code! | ||
|
||
--- | ||
|
||
# Markdown | ||
|
||
```md | ||
# My nice title | ||
|
||
## My first subtitle | ||
|
||
**Here** I am going to write _very good_ documentation about some stuff. | ||
``` | ||
|
||
--- | ||
|
||
# Free web hosting | ||
|
||
- 🐙 **GitHub** Pages | ||
- 🦊 **GitLab** Pages | ||
|
||
--- | ||
|
||
# Open-source tooling | ||
|
||
Interesting projects | ||
|
||
- [**Marp**](https://marp.app/) ([code](https://github.com/marp-team/marp) _★ 5.7k_) | ||
- [**Slidev**](https://sli.dev/) ([code](https://github.com/slidevjs/slidev) _★ 25.6k_) | ||
|
||
--- | ||
|
||
# Examples | ||
|
||
- [devpro/fun-with-containers](https://github.com/devpro/fun-with-containers) | ||
- [devpro/presentations](https://github.com/devpro/presentations) |