You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Windows 10 , i have run dart test command in dart_frog_cli as the contributing.md says before doing any contribution . But some of the test cases fails in this .
Steps To Reproduce
Go to 'dart_frog_cli'
Run Command :- dart test
See error
Expected Behavior
Test cases should pass
Screenshots
Errors :
PS C:\Users\dhruv\Desktop\opensource\dart_frogmine\packages> cd dart_frog_cli
PS C:\Users\dhruv\Desktop\opensource\dart_frogmine\packages\dart_frog_cli> dart test
00:02 +8: test\src\commands\daemon\daemon_test.dart: dart_frog daemon runs with default value [
{"event":"daemon.ready","params":{"version":"0.0.1","processId":2172}}]
✓ Creating route /user/[id]/posts/[post_id]/comments (4ms)
✓ Creating middleware user/[id]/posts/[post_id]/comments (0ms)
00:03 +46 -1: test\src\command_runner_test.dart: DartFrogCommandRunner can be instantiated without any explicit parameters [E]
FileSystemException: Error retrieving socket type, path = '' (OS Error: The handle is invalid.
, errno = 6)
dart:io stdin
package:dart_frog_cli/src/command_runner.dart 40:29 new DartFrogCommandRunner
test\src\command_runner_test.dart 88:29 main.<fn>.<fn>
To run this test again: C:\flutter\bin\cache\dart-sdk\bin\dart.exe test test\src\command_runner_test.dart -p vm --plain-name "DartFrogCommandRunner
can be instantiated without any explicit parameters"
00:03 +62 -2: test\src\daemon\daemon_server_test.dart: DaemonServer can be instantiated [E]
FileSystemException: Error retrieving socket type, path = '' (OS Error: The handle is invalid.
, errno = 6)
dart:io stdin
package:dart_frog_cli/src/daemon/connection.dart 39:31 new DaemonStdioConnection
package:dart_frog_cli/src/daemon/daemon_server.dart 27:36 new DaemonServer
test\src\daemon\daemon_server_test.dart 63:14 main.<fn>.<fn>
To run this test again: C:\flutter\bin\cache\dart-sdk\bin\dart.exe test test\src\daemon\daemon_server_test.dart -p vm --plain-name "DaemonServer can
be instantiated"
00:06 +210 -3: test\src\dev_server_runner\dev_server_runner_test.dart: DevServerRunner process runtime kills process if error occurs before hot relo
ad is enabled on non-windows [E]
Expected: empty
Actual: [['taskkill', '/F', '/T', '/PID', '42']]
package:matcher expect
test\src\dev_server_runner\dev_server_runner_test.dart 987:11 main.<fn>.<fn>.<fn>
To run this test again: C:\flutter\bin\cache\dart-sdk\bin\dart.exe test test\src\dev_server_runner\dev_server_runner_test.dart -p vm --plain-name "D
evServerRunner process runtime kills process if error occurs before hot reload is enabled on non-windows"
00:06 +210 -4: test\src\dev_server_runner\dev_server_runner_test.dart: DevServerRunner process runtime Does not kill process if a warning occurs bef
ore hot reload is enabled [E]
type 'Null' is not a subtype of type 'Stream<ProcessSignal>'
test\src\dev_server_runner\dev_server_runner_test.dart 23:7 _MockProcessSignal.watch
package:dart_frog_cli/src/dev_server_runner/dev_server_runner.dart 273:17 DevServerRunner.start.serve
===== asynchronous gap ===========================
package:dart_frog_cli/src/dev_server_runner/dev_server_runner.dart 342:5 DevServerRunner.start
===== asynchronous gap ===========================
test\src\dev_server_runner\dev_server_runner_test.dart 1020:11 main.<fn>.<fn>.<fn>
To run this test again: C:\flutter\bin\cache\dart-sdk\bin\dart.exe test test\src\dev_server_runner\dev_server_runner_test.dart -p vm --plain-name "D
evServerRunner process runtime Does not kill process if a warning occurs before hot reload is enabled"
00:06 +210 -5: test\src\dev_server_runner\dev_server_runner_test.dart: DevServerRunner process runtime kills process with message when Dart VM is al
ready in use [E]
Expected: empty
Actual: [['taskkill', '/F', '/T', '/PID', '42']]
Should not run the serve process.
package:matcher expect
test\src\dev_server_runner\dev_server_runner_test.dart 1074:11 main.<fn>.<fn>.<fn>
To run this test again: C:\flutter\bin\cache\dart-sdk\bin\dart.exe test test\src\dev_server_runner\dev_server_runner_test.dart -p vm --plain-name "D
evServerRunner process runtime kills process with message when Dart VM is already in use"
00:06 +210 -5: Some tests failed.
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
Additional Context
OS : Windows 10
The text was updated successfully, but these errors were encountered:
Description
I am using Windows 10 , i have run dart test command in dart_frog_cli as the contributing.md says before doing any contribution . But some of the test cases fails in this .
Steps To Reproduce
Expected Behavior
Test cases should pass
Screenshots
Errors :
Additional Context
OS : Windows 10
The text was updated successfully, but these errors were encountered: