0pdd
0pdd copied to clipboard
How to Contribute guide doesn't work
After following the guide and trying to run the tests. The test framework quits unexpectedly. This is the log I get:
Testing started at 9:43 PM ...
C:\Ruby23-x64\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:\Ruby23-x64\bin/rake test
Test config is absent
Cannot do operations on a non-existent table
DynamoDB Local table: ACTIVE
DynamoDB Local is running in PID 5016
C:/Users/Tim Reinagel/Documents/0pdd/.simplecov:22:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Coverage report generated for Unit Tests to C:/Users/Tim Reinagel/Documents/0pdd/coverage. 261 / 800 LOC (32.63%) covered.
C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:60:in `block (2 levels) in run': set -x && set -e && set -o pipefail && ruby -e "print RUBY_VERSION" [127]: (Exec::Error)
+ set -e
+ set -o pipefail
+ ruby -e 'print RUBY_VERSION'
/bin/bash: ruby: command not found
from C:/Ruby23-x64/lib/ruby/2.3.0/open3.rb:205:in `popen_run'
from C:/Ruby23-x64/lib/ruby/2.3.0/open3.rb:95:in `popen3'
from C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:54:in `block in run'
from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout'
from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `block in catch'
from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `catch'
from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:33:in `catch'
from C:/Ruby23-x64/lib/ruby/2.3.0/timeout.rb:106:in `timeout'
from C:/Users/Tim Reinagel/Documents/0pdd/objects/exec.rb:53:in `run'
from C:/Users/Tim Reinagel/Documents/0pdd/0pdd.rb:111:in `block in <top (required)>'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.1/lib/sinatra/base.rb:1425:in `configure'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.1/lib/sinatra/base.rb:1925:in `block (2 levels) in delegate'
from C:/Users/Tim Reinagel/Documents/0pdd/0pdd.rb:60:in `<top (required)>'
from C:/Users/Tim Reinagel/Documents/0pdd/test/test_0pdd.rb:25:in `require_relative'
from C:/Users/Tim Reinagel/Documents/0pdd/test/test_0pdd.rb:25:in `<top (required)>'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:17:in `require'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:17:in `block in <main>'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:5:in `select'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1)
-e:1:in `load'
-e:1:in `<main>'
Tasks: TOP => test
(See full trace by running task with --trace)
C:/Users/Tim Reinagel/Documents/0pdd/Rakefile:61:in ``': No such file or directory - kill -TERM 5016 (Errno::ENOENT)
from C:/Users/Tim Reinagel/Documents/0pdd/Rakefile:61:in `block (2 levels) in <top (required)>'
Process finished with exit code 1
@yegor256/z please, pay attention to this issue
@timeracers we never tried it on Windows...
Job #228 is now in scope, role is DEV
@0crat status
The job #228 assigned to @dferdian/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job
@dferdian/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.
@yegor256 there are a lot of shell commands in the app which works only on linux. should we close this issue?
@lastk yes, I think we can officially say in the README file that only Linux/Mac is supported. Windows is something we don't support and won't support.