메뉴 건너뛰기

이너포스

공지사항

    • 글자 크기

GitHub - Angular/angular-seed: Seed Project For Angular Apps

FletcherMalloy12025.04.14 12:53조회 수 0댓글 0

woman in brown button up long sleeve shirt taking selfie using smartphoneUse Git or checkout with SVN using the online URL. Work quick with our official CLI. Learn more about the CLI. Please register to use Codespaces. If nothing happens, download GitHub Desktop and try once more. If nothing happens, download GitHub Desktop and try once more. If nothing occurs, download Xcode and try once more. Your codespace will open as soon as prepared. There was an issue preparing your codespace, please attempt again. This undertaking is an application skeleton for a typical AngularJS net app. You can use it to quickly bootstrap your angular webapp projects and dev atmosphere for these tasks. The seed accommodates a pattern AngularJS software and is preconfigured to put in the AngularJS framework and a bunch of growth and testing instruments for immediate web development gratification. The seed app does not do much, simply exhibits the best way to wire two controllers and views together. You want git to clone the angular-seed repository.



You can get git from right here. We also use plenty of Node.js tools to initialize and slot gacor test angular-seed. You must have Node.js and its bundle supervisor (npm) installed. You can get them from right here. 1 tells git to only pull down one commit worth of historical data. We have two kinds of dependencies on this project: instruments and AngularJS framework code. The instruments help us handle and check the appliance. We get the instruments we rely on and the AngularJS code via npm, the Node package supervisor. In order to run the top-to-end tests, you will also need to have the Java Development Kit (JDK) installed in your machine. Try the part on finish-to-finish testing for more information. Behind the scenes this will even name npm run copy-libs, which copies the AngularJS files and different entrance finish dependencies. After that, it's best to discover out that you've got two new directories in your venture. Now we have preconfigured the venture with a easy growth net server.



Now browse to the app at localhost:8000/index.html. There are two kinds of checks within the angular-seed software: Unit assessments and finish-to-finish exams. The angular-seed app comes preconfigured with unit exams. These are written in Jasmine, which we run with the Karma check runner. We provide a Karma configuration file to run them. The configuration is found at karma.conf.js. The unit exams are discovered next to the code they're testing and have a .spec.js suffix (e.g. view1.spec.js). This script will start the Karma test runner to execute the unit assessments. Moreover, Karma will begin watching the source and check recordsdata for modifications after which re-run the checks each time any of them changes. That is the really helpful strategy; in case your unit exams are being run every time you save a file then you definitely obtain immediate suggestions on any changes that break the anticipated code functionality. You can even ask Karma to do a single run of the tests and then exit.



This is helpful if you wish to check that a particular model of the code is working as expected. The angular-seed app comes with finish-to-finish tests, once more written in Jasmine. These exams are run with the Protractor End-to-End check runner. It uses native events and has special options for AngularJS applications. The configuration is discovered at e2e-assessments/protractor-conf.js. The top-to-end exams are found in e2e-exams/scenarios.js. Protractor simulates interaction with our internet app and verifies that the applying responds appropriately. Therefore, our internet server must be serving up the appliance, in order that Protractor can interact with it. As well as, since Protractor is built upon WebDriver, we'd like to make sure that it's put in and up-to-date. The angular-seed mission is configured to do this automatically earlier than working the top-to-end assessments, so you do not want to fret about it. This script will execute the end-to-finish exams in opposition to the application being hosted on the event server.

  • 0
  • 0
    • 글자 크기

댓글 달기 WYSIWYG 사용

댓글 쓰기 권한이 없습니다.
정렬

검색

번호 제목 글쓴이 날짜 조회 수
118387 Рассекречиваем Секреты Бонусов Интернет-казино Онион Казино, Которые Каждому Нужно Знать JeroldMather79725161 2025.04.15 2
118386 Plinko Seems Simple Until You Find Out What’s Lurking Behind The Scenes CMFGerardo39365376627 2025.04.15 0
118385 Лучшие Джекпоты В Казино {Чемпион Слотс Казино}: Воспользуйся Шансом На Огромный Подарок! LateshaTrw510033190 2025.04.15 2
118384 Conveyancing From Your Transfer MargaritaCherry51458 2025.04.15 0
118383 No More Mistakes With Site TerrellMcGuinness4 2025.04.15 0
118382 تصليح ثلاجات بوش 0543747022 WendellCasteel124 2025.04.15 0
118381 The Art Of Natural Expression MarshallLovegrove401 2025.04.15 2
118380 How Can You Achieve The Best Choice Online Shopping For? BiancaDeaton0901 2025.04.15 1
118379 Three Mistakes To Avoid When Writing Copy For Your Online Business AltaGregson155835930 2025.04.15 1
118378 A Sound Investment Of The Future ErnestHaydon1278549 2025.04.15 2
118377 DSA File Viewer For PC: Why FileMagic Is The Best TonjaMansell700911 2025.04.15 0
118376 How To Obtain Your Private Credit Information Online Easily EmmaCondon8215459544 2025.04.15 1
118375 Modern Sophisticated Spaces GerardI15105798714 2025.04.15 2
118374 Diyarbakır Ofis Escort Calvin683338020 2025.04.15 0
118373 Buffalo Roofing Company Gutters, Siding, & Windows KateLarcombe99699 2025.04.15 3
118372 Analyze DSV Files With FileMagic Tools MarcusTillery83 2025.04.15 0
118371 Tips For Safely Internet AngieHarvard7212 2025.04.15 2
118370 Questions Request Yourself When Getting A On-Line Moving Estimate MarilynnFrancisco82 2025.04.15 1
118369 Celebrating Creativity: The River Region Arts And Humanities Council In Louisiana's River Parishes CoraRowlandson19578 2025.04.15 0
118368 Six Safety Tips For Dating Online Katia24412572705 2025.04.15 1
정렬

검색

위로