nand-nor / dedelf

Deep elf EDitor
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Implement automated test framework for modification functionality #14

Open nand-nor opened 4 years ago

nand-nor commented 4 years ago

Take advantage of Cargo / conditional compilation for --tests feature. Cant do much to test if ELF will still run, but can test modifications pretty simply, as such:

  1. read in file, modify, write file
  2. read in modified file, confirm expected modification is present, pass

Should also implement some unit tests in addition to overarching functional tests, tbd