{"id":8066,"date":"2015-11-23T18:40:25","date_gmt":"2015-11-23T18:40:25","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/23\/is-there-a-properly-tested-alternative-to-select2-or-chosen-open-source-projects-harvesthq-chosen\/"},"modified":"2022-08-30T15:03:02","modified_gmt":"2022-08-30T15:03:02","slug":"is-there-a-properly-tested-alternative-to-select2-or-chosen-open-source-projects-harvesthq-chosen","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/23\/is-there-a-properly-tested-alternative-to-select2-or-chosen-open-source-projects-harvesthq-chosen\/","title":{"rendered":"Is there a properly tested alternative to Select2 or Chosen?-open source projects harvesthq\/chosen"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/103153bfdf449cda83b4e798be1357bf?s=128&amp;d=identicon&amp;r=PG\" \/> <strong>brianreavis<\/strong><\/p>\n<p><strong>Selectize.js<\/strong> is a select2 alternative I&#8217;ve been working on that has a suite of tests using a combination of testem, syn, mocha, and chai. Right now there are the following classes of tests:<\/p>\n<ul>\n<li><strong>Interaction<\/strong><br \/>\nFunctional tests that makes sure the control behaves as if the user is using it (using syn).<\/li>\n<li><strong>Setup<\/strong><br \/>\nEnsures the control can be initialized properly from existing and elements.<\/li>\n<li><strong>API<\/strong><br \/>\nTests core API methods for proper functionality.<\/li>\n<li><strong>Events<\/strong><br \/>\nEnsures built-in events get fired at the right times with the proper arguments.<\/li>\n<li><strong>XSS<\/strong><br \/>\nTests a handful of potential exploits.<\/li>\n<\/ul>\n<p>With that said, the tests aren&#8217;t as expansive as I want them to be, but it&#8217;s getting there \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>brianreavis Selectize.js is a select2 alternative I&#8217;ve been working on that has a suite of tests using a combination of testem, syn, mocha, and chai. Right now there are the following classes of tests: Interaction Functional tests that makes sure the control behaves as if the user is using it (using syn). Setup Ensures the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8066","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=8066"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8066\/revisions"}],"predecessor-version":[{"id":8652,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8066\/revisions\/8652"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=8066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=8066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=8066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}