[36] Intro to Unit Testing and Continuous Integration (Mariatta Wijaya)

preview_player
Показать описание
## Upcoming Events
Join our Meetup group for more events!

Mariatta Wijaya: Intro to Unit Testing and Continuous Integration

## Key Links

## Resources

## Agenda
00:00 -- Data Umbrella Introduction by Reshama --
04:00 Reshama introduces Mariatta
06:25 Mariatta begins intro
07:08 Unit Testing: Making sure your code works
10:21 Unit Testing in Python with unittest
12:53 Unit Testing: Finding bugs early
15:26 Unit Testing: Documenting and creating examples
16:15 Unit Testing: Make development faster
18:50 Continuous Integration: Integration code is costly
22:13 Merging code with CI
22:44 Adding CI to your project
23:06 Example with GitHub Actions
23:57 GitHub Actions: Running Unit Tests
25:30 GitHub Actions: Checking Code Style
26:30 GitHub Actions: Checking Code Coverage
27:13 Resources about Unit Testing
30:48 Mariatta concludes the talk
31:48 Getting started with Q&A
32:10 Q: Is automated testing part of academic programs?
34:10 Q: How helpful are tests for users?
36:30 Q: Unit testing is more important than documentation?
37:50 Q: Code editors recommended for unit testing?
39:36 Q: Is Test Driven Development related to Unit Testing?
41:56 Q: Why to use multiple CI frameworks in one project?
43:30 Closing remarks

## Event
Having unit tests and continuous integration (CI) as part of your development are considered best practices. But how do these things work? In this talk, we will cover the benefits of writing unit tests and how to get started with it in Python. Then, we'll step it up running tests as part CI. And that's not all! CI is not just about running tests, but for other things as well, like code quality checks, and even building and generating documentation.

## About the Speaker
Mariatta is a Python Core Developer, Staff Software Engineer at Uplight, and the Vancouver PyLadies co-organizer, and one of the founding members of the PyCascades conference. She moved to Canada almost two decades ago, and now lives in Vancouver with her husband and two children. In her free time, she contributes to open source, builds GitHub bots, and fixes typos.

#unittesting #python #continuousintegration
Рекомендации по теме