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

Test command: filename as string instead of package name #169

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

ivojawer
Copy link
Contributor

@ivojawer ivojawer commented Jun 8, 2024

⚠️ Depende de uqbar-project/wollok-ts-cli#162

Fix #168

En un proyecto

.
├── package.json
└── src/
    ├── pepita.wlk
    └── pepita.wtest

Si queria correr los tests de pepita.wtest podia fallar si wollok-cli matcheaba primero con pepita.wlk para correr los tests. Ahora se envia el path entero

Comando generado cambia de

wollok  test -f pepita --skipValidations -p /path/to/project

a

wollok  test -f 'src/pepita.wtest'  --skipValidations -p /path/to/project

@ivojawer ivojawer requested review from PalumboN and fdodino June 8, 2024 00:05
Copy link

codecov bot commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.99%. Comparing base (42ea358) to head (3dbede1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   82.99%   82.99%           
=======================================
  Files          17       17           
  Lines         441      441           
  Branches       99       99           
=======================================
  Hits          366      366           
  Misses         75       75           
Flag Coverage Δ
lsp-ide-client 93.28% <100.00%> (ø)
lsp-ide-server 78.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@PalumboN PalumboN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Al tokeee, faltaría releasear CLI 🚀 🚧

Copy link
Contributor

@fdodino fdodino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍾

@ivojawer ivojawer merged commit 5de15d2 into master Jun 19, 2024
6 checks passed
@ivojawer ivojawer deleted the fix-test-file-param branch June 19, 2024 21:28
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

Successfully merging this pull request may close these issues.

Agregar la extension del archivo al parametro -f del commando test
3 participants