text: //// Flatland //// 0.0.* //// March 2017 //// http://flatland.loop.coop ////////
  
  if ('function' !== typeof require) {
      console.warn('test.js must be run using Node.js, eg:\n  $ node test.js')
  } else {
  
      //// Deal with command-line options.
      let opt, launchBrowser = false
      while ( opt = process.argv.shift() ) {
          if ('-l' === opt || '--launch' === opt) launchBrowser = true
      }
  
      //// Stub the environment, to make it appear more browser-like.
      global.jQuery = global.$ = onload => { onload() }
  
      //// Load the Production ES6 verion of the app.
      require('../dist/main/flatland.6.js')
  
      //// Load the assertion library and its reporter.
      require('../lib/test/klud.js')
      require('../lib/test/report.js')
  
      //// Run parts of the test-suite compatible with a non-browser runtime.
      require('../dist/test/flatland-universal-test.6.js')
      require('../dist/test/flatland-nonbrowser-test.6.js')
  
      //// Launch the browser tests.
      if (launchBrowser) {
          const exec = require('child_process').exec
          exec(
              'open file://' + process.cwd() + '/support/test.html'
            , function(error, stdout, stderr) {
                  if (error) console.warn(error)
              }
          )
      }
  }
  