styleshare / testables Goto Github PK
View Code? Open in Web Editor NEWMake private properties testable
License: MIT License
Make private properties testable
License: MIT License
테스트를 할때 간혹 private property를 테스트하고 싶다는 생각이 들 때가 있어서 흥미로운 프로젝트라고 생각합니다. 그런데 조금 고민되는 부분이 있어서 의견듣고 싶어서 이슈에 남깁니다.
객체의 행위를 기반으로 테스트 해야, 내부의 구현이 변경 되더라도 안정적인 테스트 코드를 가져갈 수 있다고 알고 있습니다.(행위 기반 테스트) 그런 측면으로 보면 객체 내부의 private한 값을 테스트하는 것은, 행위가 아니라 내부의 구현에 의존하게 됩니다. 이런점을 감안하더라도 private property를 테스트하면 얻을 수 있는 장점은 어떤게 있을까요?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.