Hone Your Python Skills!
Newbie Bites
Intro Bites
Regular Bites
Learning Paths
100 Days of Code
Pricing
Community
Login
β°
β°
PyBites Platform
Pybites Platform 2.0 is live π π
Join us now π
What to code next?
Bites of Py Exercises
Blog Code Challenges
Bite
Level
Description & Tags
Bite 238. Write tests for Fibonacci
Our first Test Bite! The concept is simple: to pass β¦
3.7
fibonacci
freebie
pytest
Bite 239. Test FizzBuzz
In our second Test Bite you will write tests for β¦
3.7
fizzbuzz
pytest
Bite 240. Write tests for an Account class
In our third Test Bite you will write tests for β¦
3.7
classes
pytest
Bite 241. Write tests for list_to_decimal
Our 4th test Bite. Michael made a calculator that will β¦
3.7
exception handling
freebie
pytest
Bite 242. Zodiacal data parsing
In this Bite we will write tests for a module β¦
3.7
datetime
fixtures
pytest
Bite 243. Test code that parses JSON and IP ranges
Another Test Bite, we β€οΈthem π- today you will write β¦
3.7
dataclasses
ipaddress
json
pytest
Bite 246. Test print / standard output
In this Bite you test a function that prints to β¦
3.7
capfd
capsys
list comprehensions
pytest
stdout
Bite 247. Mocking a standard library function
In this Bite you will mock out a function of β¦
3.7
mock.patch
pytest
random
Bite 248. Test a number guessing game
In this Bite you test a simple number guessing game β¦
3.7
classes
exception handling
games
mock.patch
pytest
Bite 249. Test a movie DB class
Time for fixtures, one of pytest's killer features or as β¦
3.7
classes
fixtures
movie data
pytest
SQL
sqlite3
Bite 358. Implementation of a Simple Typer Test
In this Bite, you will create a simple Typer test β¦
3.7
command line
pytest
Typer
Bite 359. Implementation of a More Sophisticated Typer Tests
Building up on the previous Bite, you now have the β¦
3.7
command line
Typer
Bite 154. Write your own Data Class
As you might have noticed we are now on Python β¦
3.10
dataclasses
data structures
hashable
sorting
type hinting
Bite 301. Exchange rates
In this Bite you have to provide the currency exchange β¦
3.10
datetime
dict
sorting
Newbie Bite 39. Make a Dataclass
In this Bite, you'll explore Python dataclasses, introduced in Python β¦
3.10
classes
dataclasses
newbie
PCC
Title
Summary
No matching Challenges found.