301 research outputs found

    Yksikkötestaus AngularJS-sovelluksessa

    Get PDF
    Sovelluskehitys käy kiivaammin kuin koskaan ennen. Web-teknologioiden kehittyessä yhä useampi pal-velu laajentaa toimintaansa Internetiin, ja tämän siirtymän helpottamiseksi luodaan vuosi toisensa jäl-keen uusia työkaluja ja sovelluskehyksiä. Uusiin mahdollisuuksiin mukautuminen ei kuitenkaan usein tule ilman hintaa, sillä rikkoutumisen riski olemassa olevissa sovelluksissa on suuri, kun niihin tehdään muutoksia. Tätä riskiä on kuitenkin mahdollista minimoida järjestelmällisen testauksen kautta. Opinnäytetyöni käsit-telee yhtä tällaista testauksen muotoa - ohjelmistotestausta - joka tarkastelee ohjelman testaamista tekni-sestä näkökulmasta. Keskityn työssä erityisesti yksikkötestaukseen, jonka tarkoituksena on varmistaa oh-jelman pienimpien osien oikeanlainen toimivuus. Toimeksiantona tutkin, kuinka yksikkötestausta on mahdollista suorittaa sovelluksessa, joka on kehitetty AngularJS-sovelluskehyksellä. Lopputuloksena syntyi käyttövalmis testausympäristö, sekä joukko erilai-sia testitapauksia, jotka demonstroivat kuinka testaus tapahtuu käytännössä. Työ toteutettiin olemassa olevaan Metsäpaikka-sovellukseen, jonka kehittämisestä vastaa Mikkelissä toimiva yritys MHG Systems Oy.The software industry is growing faster than ever. As web technologies improve, more and more com-panies are starting to either expand or fully move their services to Internet-based solutions. New tools and frameworks are being developed constantly to make this transition a bit easier, but adapting an ex-isting application to these tools often comes with a price. As developers move from one technology to another, the risk of something breaking is high. This risk can, however, be minimized through various, well-thought-out testing procedures. In this the-sis I covered software testing, which approaches testing from a technical standpoint. The main focus of the work was on unit testing, which attempts to ensure that even the smallest pieces of an application’s code are functioning correctly. The assignment for this thesis was to find out how to unit test an application built with the JavaScript framework AngularJS. The result of this was a fully functional unit testing environment, accompanied with various test cases for demonstrating how unit testing is done in practice. The testing tools were im-plemented to an existing application called Woodlandmanager, developed by a company in Mikkeli called MHG Systems Ltd.Työssä käytetään AngularJS:n versiota 1.5

    Metsäkoneyrittäjien toimintaympäristö ja investointien rahoitusmahdollisuudet Suomessa ja Ruotsissa

    Get PDF
    Tutkimuksen tarkoituksena oli selvittää Suomen ja Ruotsin metsäkoneyrittäjien toimin-taympäristön eroja sekä minkälaisia asiakassuhteita ja sopimuksia metsäkoneyrityksillä on. Tämän lisäksi tarkoituksena oli tunnistaa alalla käytettäviä kasvustrategioita ja kartoittaa minkälaisia rahoitusmahdollisuuksia alalla on saatavilla, sekä arvioida toimialan rahoitetta-vuutta molemmissa maissa. Tutkielma on luonteeltaan kvalitatiivinen, jossa aineisto kerättiin teemahaastattelemalla viittä suomalaista ja viittä ruotsalaista metsäkoneyritystä kesän ja syksyn 2015 aikana. Tutkimusaineiston analyysimenetelmänä käytettiin teemoittelua, jossa litteroitu haastatte-luaineisto teemoiteltiin aineistolähtöisesti. Teemat, joita haastatteluissa käsiteltiin, olivat toimintaympäristö, liikesuhteet ja sopimukset, kasvu ja menestyminen sekä rahoitusmah-dollisuudet. Toimintaympäristöltään yritykset kokivat metsäkonealan Suomessa positiivisempana joh-tuen maan lähitulevaisuuden metsäteollisuuden investoinneista. Tämän lisäksi toimintaym-päristöt erosivat siten, että Suomessa asiakkaat ovat ottaneet käyttöön alueurakointi- tai avainyrittäjämallin, jota Ruotsissa ei toistaiseksi sovelleta. Tällä oli vaikutusta kaikkiin haastatteluteemoihin lisäten erovaisuutta Suomen ja Ruotsin toimintaympäristöjen välillä. Suomessa metsäkoneyrittäjällä oli myös yleensä enemmän asiakkaita kuin Ruotsissa. Asi-akkaiden kanssa solmitut sopimukset olivat sisällöltään samanlaisia molemmissa maissa, mutta määräajaltaan pitempiä Suomessa. Molemmissa maissa yleisimpiä kasvustrategioita olivat sisäinen kasvu sekä yritysostot. Suomessa metsäkoneyrityksillä oli selvästi kiivaampi kasvuhalu. Metsäkonealan rahoitusmahdollisuudet olivat molemmissa maissa samanlaiset. Koneinvestoinneissa käytettiin pääosin samanlaisia rahoitustuotteita molemmissa maissa. Tulosten perusteella metsäkoneala on rahoitettavuudeltaan potentiaalinen molemmissa maissa, sillä rahoitusten tarve ei tule katoamaan tulevaisuudessa.The purpose of the study was to identify the differences between forest machine enter-prises’ operational environments in Finland and Sweden and to find out what kind of rela-tionships and contracts these enterprises have with their clients. The purpose was also to identify what kind of growth strategies are implemented and what sort of financing op-portunities are offered in forest machine industry. The aim of this study was also to con-duct an evaluation of financial potential of the forest machine industry in both countries. This study uses qualitative methods. The material was gathered through five interviews conducted in Finland and five in Sweden during the summer and autumn of 2015. The material was analyzed through thematizing. The interviews hold four main themes which included operational environment, relationships and contracts, growth and success and finance. The operational environment was considered more positive in Finland, due to the future large investments targeted to the country`s forest industry. The main difference between the two countries is that most of the clients use key contractor model in Finland which is not commonly applied in Sweden and this had clear effects on the results of this study. Also, contractors in Finland often have more clients than in Sweden. The service contracts contained the same basic conditions in both countries except the duration of the contract, which was longer in Finland. Contractors generally used internal growth and corporate acquisition as their growth strategy in both countries. Contractors were more expansionary and open to growth in Finland than in Sweden. They also used the same kind of financial products in both countries. According to the results, the forest machine industry has the same financial potential in both countries, since the urge of financing will not disappear in the future

    Neural networks in interpretation of electronic core-level spectra

    Full text link
    We explore the applicability of artificial intelligence for molecular structure - core-level spectrum interpretation. We focus on the electronic Hamiltonian using the H2_2O molecule in the classical-nuclei approximation as our test system. For a systematic view we studied both predicting structures from spectra and, vice versa, spectra from structures, using polynomial approaches and neural networks. We find predicting spectra easier than predicting structures, where a tighter grid of the spectrum improves prediction. However, the accuracy of the structure prediction worsens when moving outwards from the center of mass of the training set in the structural parameter space

    Fertilizer effect and a model for forecasting yields

    Get PDF
    A simulation model for forecasting the development of crop yields is built in the article. A parabolic function is applied to represent the fertilizer effect on yields. The biological-technological development is taken into account by including the time factor into the yield function. The parameters of the functions are estimated from the data obtained from field experiments. The economic optimum determines the use of fertilizers which, in turn, is needed to calculate final forecasts of yields for each year. The user of the model may freely select the growth rate of the fertilizer price. The rise in production costs is compensated to the farmers by raising producer prices accordingly

    Kirjolohen tie fileeksi: geneettiset tunnusluvut

    Get PDF
    vo

    KONSEPTUAALINEN JA PROSEDURAALINEN TIETO SEKÄ LUOVA PÄÄTTELY LUKION MATEMATIIKAN ENSIMMÄISEN OPINTOJAKSON HARJOITUSTEHTÄVISSÄ

    Get PDF
    Lukion matematiikassa on tapahtunut useita muutoksia liittyen muun muassa oppimateriaalien ja opiskeluvälineiden sähköistymiseen ja kaikille yhteisen opintojakson perustamiseen lukio-opintojen alkuun. Tässä tutkimuksessa selvitetään, miten näiden muutosten myötä oppikirjojen tehtävien painotukset lukiomatematiikan ensimmäisellä opintojaksolla ovat muuttuneet toisaalta konseptuaalisen ja proseduraalisen tiedon ja toisaalta matemaattisen luovuuden harjoituttamisen suhteen. Tutkimuksessa analysoitiin yhteensä 400 tehtävää vuosien 2003, 2015 ja 2019 opetussuunnitelmiin pohjautuvista ensimmäisten opintojaksojen oppikirjoista. Tulokset osoittavat, että uudistusten myötä tehtävät ovat muuttuneet selvästi konseptuaalista tietoa painottavampaan suuntaan

    Empowering Citizens with Digital Twins: A Blueprint

    Get PDF
    The exponentially growing amount of digital information and data analysis increase the ability to perceive the holistic situation of people. This article applies the digital twin paradigm to strengthen a person's ability to utilize information about themselves by creating a digital representation of their situation to support their well-being. More specifically, we propose a blueprint to empower individuals by improving their self-determination regarding their personal data. The blueprint will help service and data providers, both public and private, to develop a common understanding of the role and possibilities of a citizen's controlled personal digital twin of themselves-a citizen digital twin (CDT)-for creating people-centric solutions. The blueprint also provides a rational framework for service development based on CDTs and serves as a basis for strategic guidance of service development. We demonstrate this with a case study of confirmation class students.Peer reviewe
    corecore