Skip to content
#

wargame

Here are 62 public repositories matching this topic...

WaveHack
WaveHack commented Apr 20, 2019

Refactor classes (including tests) to resolve dependencies out of the IoC container with $this->dep = app($class::class) in the constructor, instead of through the constructor method arguments.

Constructor arg lists get quite long (see PopulationCalculator), and needs fixing test constructors whenever this changes.


Beep, boop, I'm a bot! Th

mariuszskon
mariuszskon commented Oct 2, 2020

Currently, we only have some integration tests (we test a bunch of modules together, with the goal of solving a challenge).
Adding unit tests, which test each component in isolation, can help us spot and fix bugs easier and faster. In particular, the arutil (utilities) module would be a good start.

This could be done by adding tests to pytest (the tests directory) or via [doctest](https://

Improve this page

Add a description, image, and links to the wargame topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the wargame topic, visit your repo's landing page and select "manage topics."

Learn more