Comments (7)
Uh, I have 0 experience with unit testing :D
from three.js.
lol ok i'll do something. maybe some markdown documentation too?
from three.js.
Sure! Some parts of the API seem to be getting pretty stable. I guess some documentation would be helpful for people trying to use the lib :)
from three.js.
Was this intentionally closed? : )
I think a good place to start would be adding expects to the existing examples and at least have some smoke tests. Then work down into core.
from three.js.
Feel free. I don't think it's something I would like to maintain myself though.
from three.js.
If I put the infrastructure in place and tested the current codebase, would you add new tests to future changes? That's key , since one of the benefits of tests is preventing regressions, because new features tend to introduce bugs in existing features. It's a common practice in TDD to ensure that every bug fix also has a new test added that defines the decision and locks in the fix. And stable releases can't have failing specs. Would you be on board with that? Or do you have an idealistic disposition to TDD?
BTW: It's actually really surprising to me that the project is as stable as it is without any tests. I've never seen anything like it. Normally if something gets to this size it starts to collapse under its own gravity as new features break things. I think the reason for this is A) you have some incredibly strong powers of foresight, and as such the the architecture is very well thought out from the start. and B) you probably pop open examples before committing changes to make sure they still work, which is some manual QA.
from three.js.
Yeah, we use the examples as tests. And we have incredibly strong powers of foresight too ;)
from three.js.
Related Issues (20)
- It appears that the resources associated with DRACOLoader may not be completely released, leading to memory consumption issues HOT 4
- I wish an example for the outputStruct node HOT 3
- Adding postprocessing support to the three. js editor HOT 1
- WebGLRenderer.setSize cannot set properties of undefined (setting 'width') HOT 2
- Enhance target type for SpotLight and DirectionalLight HOT 1
- Build a grid through custom coordinates HOT 1
- `.equals` in class `Spherical` HOT 6
- FBXLoader loads default Unreal model with wrong rotation HOT 4
- Editor can't import glTF with .ktx2 textures HOT 1
- MRT needs a filter if there are several objects with different shader counts in the scene HOT 3
- File Export Whole Scene feature was removed 😨 HOT 2
- RectAreaLight passes through material HOT 6
- Editor: drop event in UIOutliner of ui.three.js not being call HOT 9
- Editor: Export GLB and GLTF fails to fetch HOT 2
- MeshToonMaterial support for WebGPU
- why my scene can not showed fully, after wheel scale and drag? who can help me? thanks HOT 1
- Black/gray outline shows around transparent textures when mipmaps are used. HOT 4
- MeshPhysicalMaterial: Wrong blending with nested transmissive objects. HOT 11
- Add StorageBufferAttribute to current version of Three.js HOT 1
- Stencil params getting out of sync. HOT 6
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 three.js.