Formal Methods for Automated Unit Testing
Closed Solicitation Posted
- Solicitation number
- AF191-064
- Agency
-
Air Force Research Laboratory
Air Force Materiel Command, Department of Defense
- Responses due
- Set-aside
- Total Small Business
Opportunity facts
- NAICS code
- 541715 Research and Development in the Physical, Engineering, and Life Sciences (except Nanotechnology and Biotechnology)
- More information
Notice details come from DoD SBIR/STTR (DSIP). Updated .
Notice text
DoD SBIR topic AF191-064
Component: USAF
Command: AFRL-RI
Phase: SBIR Program Phase I Action
Technology Areas: Information Systems
Keywords: formal verification; software development; software testing; automated testing
Objective:
Investigate the ability to replace unit testing with formal methods based testing. Develop an Integrated Development Environment (IDE) where developers can specify unit tests as formal requirements, the requirements are automatically verified and/or tested, and the results presented back to the developer.
Description:
Recent advances in formal methods have demonstrated that they scale to the size of microkernels [1, 2], however the formal proof systems still require significant training and expertise to operate. The toolsets are not yet ready for wide adoption by the vast majority of software developers with little to no formal background. However, the situation is expected to improve as research continues. This is especially true for research in satisfiability based formal verification where open source Z3 [3] Theorem Prover (https://github.com/Z3Prover/z3) has just recently received IEEE 754 floating point support.
This topic seeks innovative technologies that can integrate the current breed of formal methods tools to automatically perform software testing for software developers. In an effort to focus innovation on ensuring that the final Phase III tool will be useful for normal everyday developers rather than more advanced formal methods tools, this topic includes three main focus areas.
First, the resulting solution must be capable of automatically translating source code blocks (e.g., C) into a formal specification (e.g., an SMT formula) so that the everyday developer does not need to understand the formal specification language.
Second, the solution should allow the developer to write formal specifications (such as those for unit tests) in a natural way.
Third, the solution should automatically verify whether the code block satisfies the specification or whether the specification holds true. Results are presented back to the everyday developer in a familiar way. For example, this process can be seen as being similar to compilation.
Phase I:
Discuss the design space and trade-off decisions. Identify the target source language as well as formal specification language. Develop an IDE mockup and develop a proof of concept IDE. The proof of concept should focus on the second focus area and demonstrate that unit tests can be written in a natural way and then automatically converted into the chosen formal specification language. Demonstrate that the automatically converted specification can be integrated with and verified using a sample source code block that was hand-translated into the specification language. In other words, the first and third focus areas can be completed manually.
Phase II:
Fully develop the technology and demonstrate the ability to perform automated unit testing using formal methods based approaches. This will include fully automating the first and third focus areas as well as improving the sophistication of the automatic specification translation tool. Integrate the new automated testing capability with Continuous Integration/Continuous Testing frameworks.
Phase III:
Integrate with interested USAF developers.
DUAL USE APPLICATIONS: The resulting toolsets are suitable for use by everyday developers in both government and commercial industry.
Files
| File | Type | Posted |
|---|---|---|
| AF191-064.pdf |
On GovTribe
Work this opportunity
- Track it in your pipeline
- Find teaming partners
- Similar opportunities
- Ask GovTribe AI about this opportunity