Comments (5)
Started adding session tests, coverage going up 🎉
from zls.
am i running the tests the wrong way ?
Yes. Try execute zig build test
in zls root folder.
from zls.
Looks interesting. Not sure if it's a priority right now, but definitely down the line.
from zls.
hi i recently started learning zig and this seems like a beginner-friendly issue to get started with but when i try to run unit tests using zig test unit_test.zig
i get an error saying
./unit_tests.zig:2:15: error: unable to find 'types'
const types = @import("types");
^
./unit_tests.zig:23:43: note: referenced here
fn makeUnnamedDocument(text: []const u8) !types.TextDocument {
^
./unit_tests.zig:31:21: note: referenced here
const doc = try makeUnnamedDocument(final_line);
^
./unit_tests.zig:68:5: note: referenced here
try testContext(
^
am i running the tests the wrong way ? i tried looking for docs on testing and also tried looking in the ci workflow for a test job but couldnt find anything.
PS i am able to build the repo locally
from zls.
I think #609 closed this. Closing in favor of #623.
from zls.
Related Issues (20)
- integer overflow not highlighted as an error
- Raylib autocomplete doesn't work
- ZLS fails to handle linking with steps that install generated headers
- Struct skeleton with pointer to element in a slice not found HOT 3
- Building ZLS failing: "error: DownloadFailed" HOT 1
- Fails to build on 0.13.0-dev.46+3648d7df1 HOT 2
- Fix build under NetBSD/posix
- Release missing tar.gz HOT 2
- build fails when inside other git repo HOT 1
- VSCode constantly freezes with `Saving 'file.zig': Running 'Zig Language' Formatter` HOT 5
- semicolon autofix sometimes results in invalid code HOT 4
- Inlay hints do not recognize the self parameter
- Confusing inlay hints with arrays of unknown types
- ZLS intellisense suggests duplicate declarations in complex namespace types HOT 1
- array_list.insertSlice API change in zig std library breaks build for all zls 0.13.x commits HOT 10
- Structs not folding in VS Code HOT 2
- Annotations are incorrect HOT 5
- autofix with catch discard is broken
- Auto completion of c functions does not work with the latest zls. HOT 2
- Preserve documentation in C imports HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zls.