Giter Site home page Giter Site logo

xs.js's People

Watchers

James Cloos avatar Alexey Kreskiyan avatar

xs.js's Issues

Tests module

Needed tests module, that will perform unit and integration framework tests Capabilities:
Unit tests
BDD-styled tests. Unit tests can be run internally (if they are not visual), or in iframe (dom tests). Used concepts are:

  • spies. Spy is a on object, that tracks it's methods calls, and reacts respectively
  • stubs. Stub is a function with predefined behavior. Needed to think around it's interface
  • mocks. Mock is object wrapper, that registers expectations for object reactions. After all expectations are registered, mock is verified
  • fakes. Implemented fakes are:
    • timer. Temporary override, that allows to mock setTimeout/setInterval calls
    • XMLHttpRequest
    • WebSocket
  • assert api. Allows combinated queries
  • code coverage
    will be really great to do that
  • mocks are needed, too - mock is created, specifying given interface
  • integration tests: Don't know yet

Add resource classes

Likely, this one was about ability to load resources: images, html, css alongside with other dependencies

Upgrade xs.view.Element

Add all commonly used properties to exclude most cases of direct accessing to private.el:

  • html => innerHtML
  • style => style

etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.