josephg / node-foundationdb

Modern Node.js FoundationDB bindings
Other
115 stars 17 forks source link

Running old tests #36

Closed laptopisasset closed 4 years ago

laptopisasset commented 4 years ago

how to run old test, on running node tester.js error: Cannot find module '../modules/0.10/fdblib'

josephg commented 4 years ago

The old tests haven't been ported to the new API. They're currently dead code. The official binding tester can be made to work by pointing it at the bindingtester script in the scripts directory. But I haven't published instructions anywhere on how to make that happen.

josephg commented 4 years ago

I'm not going to port the old tests across since the binding tester is a more thorough set of tests anyway. I'll probably delete oldtests some point soon.