korosuke613 / BWDM

Test Cases Auto-Generation from a VDM++ Specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BWDM: Verification tool for Vienna Development Method

Test Cases Auto-Generation from a VDM Specification.

codecov

Execution Environment, using Libraries,

  • OS : macOS or Linux
  • VDMJ Ver.4 : Lexer and Parser
  • Z3 : Theorem Prover
  • PICT : Pairwise Independent Combinatorial Testing
  • pict4java : PICT wrappers for java-class

install

  1. Install Microsoft Z3 library.
  2. Download BWDM.jar.

example

$ DYLD_LIBRARY_PATH=./libs java -Djna.library.path=./libs -Djava.library.path=./libs -jar BWDM.jar ./vdm_files/probrem.vdmpp -n -a -i -s -b -p -d

or

$ gradle run -Pargs="./vdm_files/problem.vdmpp" 

options

Option Content
-n Basically Info.
-a Info. of BVA.
-i Info. of Symbolic Exe.
-b Output ONLY testcases of BVA.
-p Output ONLY testcases of BVA with pairwise.
-s Output OHLY testcases of Symbolic Exe.
-f Output testcase into a file(default:display on console).
-v Version.
-h Help.

build

$ DYLD_LIBRARY_PATH=./libs;LD_LIBRARY_PATH=./libs; export LD_LIBRARY_PATH; gradle jar

About

Test Cases Auto-Generation from a VDM++ Specification

License:GNU General Public License v3.0


Languages

Language:Kotlin 83.5%Language:Java 16.0%Language:Dockerfile 0.5%Language:Shell 0.1%