[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

test[node8debug] index

Test set to validate U8Debugger (debugee side) working on node8 in Android devices.

How to run this tests

  1. Start a node8 application (e.g. U8 Smalltalk Tools) with debugger enabled
  2. open Chrome and start the U8Debugger from home page
  3. connect the debugger to app's IP
  4. Evaluate the following expression to start this testset

    SwikiCodeRobot @> #(test node8debug)

    or open the Swiki Testing Tool on "node8debug" testset

Test pages

Basic tests
Native tests
UI tests
Internal tests

Index chunks

The following chunks ensure all the frameworks to run testset are installed in your system, and the system is running in the required execution environment
"Evaluating first chunk of the test set"

(Smalltalk includesKey: #Smalltalk) ifFalse: [
    self print: 'Require s8 execution environment.'.
    self abort
(Smalltalk includesKey: #NodeJS) ifFalse: [
    self print: 'Require NodeJS framework.'.
    self abort
(Smalltalk global basicAt: #Java ifAbsent: []) toString = 'function Java() { [native code] }'
        ifTrue: [ ^#node8 ].

self print: 'Require node8 execution environment.'.
self abort