Difference between revisions of "Testing"

From eLinux.org
Jump to: navigation, search
(add section on test standards)
(fix bullets for mediawiki)
Line 32: Line 32:
 
= Testing Standards =
 
= Testing Standards =
 
Start collecting info for testing standards here:
 
Start collecting info for testing standards here:
* https://tools.ietf.org/html/rfc2119 - ietf MUST, SHALL, MAY, etc. wording standards
+
* https://tools.ietf.org/html/rfc2119 - ietf MUST, SHALL, MAY, etc. wording standards
  
 
Things we'd like to standardize in open source testing:
 
Things we'd like to standardize in open source testing:
* test nomenclature (test glossary)
+
* test nomenclature (test glossary)
* how to specify test pre-requisites
+
* how to specify test pre-requisites
  * ex: assert_define ENV_VAR_NAME
+
** ex: assert_define ENV_VAR_NAME
  * ex: kernel_config
+
** ex: kernel_config
* test API
+
* test API
  * host/target abstraction
+
* host/target abstraction
    * kernel installation
+
** kernel installation
    * file operations
+
** file operations
    * console access
+
** console access
    * command execution
+
** command execution
  * test retrieval, build, deployment
+
* test retrieval, build, deployment
    * test execution:
+
** test execution:
      * ex: 'make test'
+
*** ex: 'make test'
* test log output format
+
* test log output format
  * counts
+
** counts
  * subtest results
+
** subtest results
* test package format
+
* test package format
  * meta-data for each test
+
** meta-data for each test
* test results
+
** test results
  * baseline expected results for particular tests on particular platforms
+
** baseline expected results for particular tests on particular platforms
  * what tests can be skipped etc.
+
** what tests can be skipped etc.

Revision as of 10:39, 8 November 2016

This page has lists of resources for Linux testing.

Presentations from events

LPC 2016 testing mini-summit (Nov 2016)

The 2016 Linux Plumbers Conference had a mini-summit on Testing and Fuzzing, as well as other sessions dedicated to open source testing issues. Here are some links related to that event:

collect presentation links above

Japan Jamboree 58-1 (Oct 2016)

Previous ELC and ELCE talks on testing

Testing Standards

Start collecting info for testing standards here:

Things we'd like to standardize in open source testing:

  • test nomenclature (test glossary)
  • how to specify test pre-requisites
    • ex: assert_define ENV_VAR_NAME
    • ex: kernel_config
  • test API
  • host/target abstraction
    • kernel installation
    • file operations
    • console access
    • command execution
  • test retrieval, build, deployment
    • test execution:
      • ex: 'make test'
  • test log output format
    • counts
    • subtest results
  • test package format
    • meta-data for each test
    • test results
    • baseline expected results for particular tests on particular platforms
    • what tests can be skipped etc.