feather icon indicating copy to clipboard operation
feather copied to clipboard

Thorough integration testing framework

Open caelunshun opened this issue 5 years ago • 2 comments

We've had a number of regressions introduced by new features which were not caught by any form of automated testing. For example, #247 comes to mind.

To fix this, we should implement an integration test suite which:

  • runs the server executable with different configs each time
  • connects bots to the server (blocked on `feather-protocol)
  • ensures that interaction between bots and game state are correct

caelunshun avatar May 25 '20 01:05 caelunshun

I want to work on this and #219. My plan currently is to make a rust implementation of the minecraft client api (send and receive packets, store chunk and entity data) and then use this for integration testing and eventually benchmarking. Is there anything in particular I need to consider? What parts of feather can be reused for this (I am unfamiliar with the project structure)?

ChemicalXandco avatar Mar 06 '21 11:03 ChemicalXandco

@ChemicalXandco you might want to talk to Miro on Discord, he is in the process of creating a tool that automatically compares vanilla Minecraft to Feather.

Defman avatar Mar 06 '21 11:03 Defman