Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No tests are being run on a task solution #195

Open
ghost opened this issue Jan 16, 2023 · 0 comments
Open

No tests are being run on a task solution #195

ghost opened this issue Jan 16, 2023 · 0 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jan 16, 2023

Task Title: Common Programming Concepts / Conditions / Add Conditions

When I do a task (not only the one stated above) and press "Check", I usually see a "Tests passed: 0" notification.
Is that a local problem for me or are there no tests to check the result?

These log entries are added when I press "Check":

2023-01-16 22:53:42,991 [ 662004]   INFO - org.rust.openapiext.CommandLineExt - Executing `/home/fs/.cargo/bin/rustup component list`
2023-01-16 22:53:43,101 [ 662114]   INFO - org.rust.openapiext.CommandLineExt - Executing `/home/fs/.cargo/bin/cargo clippy --lib --message-format=json --no-default-features --tests`
2023-01-16 22:53:43,210 [ 662223]   INFO - org.rust.openapiext.CommandLineExt - Executing `/home/fs/.cargo/bin/cargo test --no-run --color never --manifest-path "/home/fs/projects/Rustlings/Common Programming Concepts/Conditions/Add Conditions/Cargo.toml"`
2023-01-16 22:53:43,408 [ 662421]   INFO - #c.j.e.l.a.CheckAction - Checking of Add Conditions task took 1136 ms
2023-01-16 22:53:43,463 [ 662476]   WARN - #c.i.e.p.OSProcessHandler - Process has been already terminated: /home/fs/.cargo/bin/cargo clippy --lib --message-format=json --no-default-features --tests
2023-01-16 22:53:44,102 [ 663115]   INFO - org.rust.openapiext.CommandLineExt - Executing `/home/fs/.cargo/bin/rustup component list`
2023-01-16 22:53:44,216 [ 663229]   INFO - org.rust.openapiext.CommandLineExt - Executing `/home/fs/.cargo/bin/cargo clippy --lib --message-format=json --no-default-features --tests`

The IDE is:

CLion 2022.3.1
Build #CL-223.8214.51, built on December 20, 2022
Licensed to xxx
Subscription is active until xxx.
Runtime version: 17.0.5+1-b653.23 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.1.0-1-amd64
GC: G1 Young Generation, G1 Old Generation
Memory: 2000M
Cores: 4
Registry:
    debugger.new.tool.window.layout=true
    run.processes.with.pty=true
    ide.experimental.ui=true

Non-Bundled Plugins:
    com.mroche.JsonHelper (1.2.0)
    com.github.mikesafonov.jenkins-linter-idea-plugin (0.6.0)
    some.awesome (1.14)
    org.rust.lang (0.4.186.5143-223)
    GrepConsole (12.15.211.6693.1)
    com.jetbrains.edu (2022.12-2022.3-161)
    mobi.hsz.idea.gitignore (4.4.4)
    org.sonarlint.idea (7.3.0.59206)
    org.jetbrains.settingsRepository (223.8214.6)

Current Desktop: KDE

This code should not pass the test. :)
rustlings_solution

I switched to Swift for the descriptions panel because of https://youtrack.jetbrains.com/issue/EDU-5477/IntelliJ-idea-stops-responding-when-using-EduTools-to-work-on-JetBrains-academy-tasks but I think I remember the same notification shown before as well.

@igalimov igalimov self-assigned this Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant