Skip to content
#

wargame

Aa subgenre of strategy video games that emphasize strategic or tactical warfare on a map.

Here are 82 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

𝗧𝗼𝗼𝗹𝘀 𝗳𝗼𝗿 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆 𝗿𝗲𝘀𝗲𝗮𝗿𝗰𝗵𝗲𝗿𝘀: 𝗽𝗲𝗻𝘁𝗲𝘀𝘁𝗶𝗻𝗴, 𝗖𝗧𝗙𝘀 & 𝘄𝗮𝗿𝗴𝗮𝗺𝗲𝘀 🏴‍☠️ - 𝗯𝘆 𝗯𝘁𝟯𝗴𝗹

  • Updated Jun 16, 2022
  • C
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://

good first issue
Wikipedia
Wikipedia

Related Topics

strategy