Skip to content

SauceChord/svea-lz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svea-lz

SVEA Compression for Dual Universe

Test Dependencies

First time setup

To get luarocks working properly with dependencies on Windows, here's one way to do it.

  • Open Powershell and install scoop.sh
  • Set-ExecutionPolicy RemoteSigned -Scope CurrentUser Optional: Needed to run a remote script the first time
  • irm get.scoop.sh | iex
  • scoop install luarocks Installs luarocks, a lua packaging manager
  • luarocks install busted Installs busted, a test runner framework
  • luarocks install luacov Installs luacov, a test coverage reporter
  • luarocks install cluacov Installs cluacov, a native (faster) addon for luacov
  • Close Powershell and restart any Visual Studio Code project you want busted to work in
  • Open Visual Studio Code and open its Terminal (see file menu at top)
  • chcp Shows your current code page, for example 850
  • chcp 65001 Changes your code page to Utf-8, so you can see busteds output more clearly

Running tests

  • busted Runs all tests defined in the ./.busted file
  • busted -t [#end-to-end] Runs all tests tagged as #end-to-end (see /src/compression/LZWS_spec.lua for example)
  • busted -v Verbose mode
  • busted -c Generates ./luacov.stats.out
  • luacov Generates ./luacov.report.out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages