You can easily install or update DNose on Linux by running one of the commands below in your terminal:
Using curl:
curl -sSL https://raw.githubusercontent.com/tassiovirginio/dnose/main/install.sh | shUsing wget:
wget -qO- https://raw.githubusercontent.com/tassiovirginio/dnose/main/install.sh | sh- Assertion Roulette
- Conditional Test Logic
- Constructor Initialization
- Dependent Test
- Default Test
- Duplicate Assert
- Eager Test
- Empty Test
- Exception Handling
- Expected Resolution Omission
- Ignored Test
- Lazy Test
- Magic Number
- Mystery Guest
- Print Statement
- Redundant Assertion
- Resource Optimism
- Residual State
- Sensitive Equality
- Sleepy Test
- Test Without Description
- Unknown Test
- Verbose Test
- Widget Setup
- Ubuntu -> sudo apt-get -y install sqlite3 libsqlite3-dev git dart
- Arch -> pacman -S git sqlite3 libsqlite3 dart
- Windows -> dart sdk, git, SQLite 3 - All bin in your PATH
- Install Mise -> https://mise.jdx.dev/
-
edit the "mise.toml"
- API_KEY_GEMINI="YOUR_API_KEY_GEMINI"
- API_KEY_CHATGPT="YOUR_API_KEY_OPENAI"
- OLLAMA_MODEL="deepcoder:1.5b"
-
mise run
- analyze
- build - 1º run for generate html/dart
- compile
- format
- run - 2º start the DNose
- run_compiled
- test
- create file .env
- input in the file this codes:
API_KEY_GEMINI="YOUR_API_KEY_GEMINI"
API_KEY_CHATGPT="YOUR_API_KEY_OPENAI"
OLLAMA_MODEL="deepcoder:1.5b"
- docker build -t dnose .
- docker run -it --rm -p 8080:8080 --name dnose dnose
- dart run bin/dnose.dart
- dart run build_runner clean && dart run build_runner build --delete-conflicting-outputs
- dart compile exe bin/dnose.dart -o dnose.run
- ./dnose.run
- dart run build_runner clean && dart run build_runner build --delete-conflicting-outputs or
- dart run build_runner clean && dart run build_runner watch
- dart compile exe bin/dnose.dart --target-os=windows --target-arch=x64 -o dnose_win.exe
- or dart compile exe bin/dnose.dart --target-os=windows -o dnose_win.exe
- dnose_win.exe