Comments (4)
I actually had this in mind too, but I'm not familiar with testing frameworks for javascript.
The travis builds could also make sure the generator is working correctly via busted
and luacheck
.
from love-atom.
Yeah, that sounds good, you may have more experience with busted
though so I guess I'll leave that part to you.
I have worked in the linter-luacheck package which uses apm test
for testing so I'll try to do something like that, the problem being the simulation of autocomplete-plus
, in order to get the right suggestions. That's the part I need to investigate
from love-atom.
Did you check some of the standard autocomplete provider packages?
Is it possible that they clone Atom itself in the travis build and then use some internal spec system?
from love-atom.
They do clone Atom similar to how Linter does it using the atom/ci scripts. Install their dependencies and call apm test
But no package tests if the suggestions are right, they check that their view and commands are in place and destroyed when they aren't needed anymore. Which is not something this package needs.
Instead I propose that we call the function that would normally be called by atom-autocomplete-lua
and see if we get the whole list of functions (testing for modules, callbacks, functions and named types directly in the object). Trusting that atom-autocomplete-lua
will handle the rest right.
Does that make sense? I can write the spec file if you want
from love-atom.
Related Issues (14)
- Write provider
- Improving suggestions HOT 1
- Dependency to language-lua HOT 4
- Failed to activate the package HOT 3
- integrated Debugger HOT 3
- Autocomplete-Lua provider HOT 23
- Some constructors don't return the correct type HOT 1
- Allow language-luajit as an optional dependency instead of language-lua HOT 4
- First argument ommited HOT 1
- some methods are still missing self arguments HOT 3
- Default value format HOT 2
- A little problem with vars, linked to love-modules. HOT 2
- Autocomplete stops working when accessing table contents of love.filesystem.getInfo HOT 3
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 love-atom.