This is the material of FUKUOKA Engineer Day 2018. Visual Studio App Center's features, distribution, crashes, analytics and push notification. are mainly described.
This is the material of FUKUOKA Engineer Day 2018. Visual Studio App Center's features, distribution, crashes, analytics and push notification. are mainly described.
Portable class library to .NET Standard ExtensionTakeshi Fujimoto
?
This document contains links to resources about converting class libraries from Portable Class Libraries (PCL) to .NET Standard. It includes links to a GitHub repository containing a tool called Mutatio that can automatically upgrade PCL projects, an article explaining how to manually upgrade a PCL project, and links to a Visual Studio extension and its GitHub repository that helps convert PCL to .NET Standard projects. It also mentions that other settings may need to be changed during the conversion process.
Fukuoka.NET #9 material:
This is the material written about Xamarin with Entity Framework Core.
Changed url of sample codes on Github.com
https://github.com/tafuji/Xamarin-EFCore-1.1.5
3. Introduction - Architecture & Test Framework
? 本資料では、以下の内容を説明します
? Unit Test : NUnit
? Xamarin.UITest
View ViewModel
Xamarin.UITest Unit Test Unit Test App
Portable Class LibraryXAML, AXML, Storyboard Native Class Library
Model
14. Moq の利用
? ViewModel, Model には、以下のようなコードブロックが存
在し、単純に単体テストを行うことが難しい場合がある
? Native 機能に依存する部分
? 外部サービスに依存している部分
View ViewModel
Xamarin.UITest Unit Test Unit Test App
Portable Class LibraryXAML, AXML, Storyboard Native Class Library
Model
Moq を利用することで上記のような部分を簡単に Mock 化することができる
32. Appendix: Unit Test with Visual Studio Team Services
? VSTS の自動ビルドのタスクに Unit Test のタスクを追加できる
33. Appendix: Unit Test with Visual Studio Team Services
? Unit Test のタスク設定
Unit Test プロジェクトのアセンブリを指定
34. Appendix: Unit Test with Visual Studio Team Services
? Unit Test のタスク設定(続き)
?カスタムテストアダプタのパスを指定
?NUnit
?NUnit Test Adapter のパスを指定
?テストプロジェクトに Nuget
パッケージをインストールしておくとよい
35. Appendix: Unit Test with Visual Studio Team Services
? Unit Test の結果は、自動ビルドの結果の中に保存される
36. Appendix: VSTS と Mobile Center の連携
? VSTS のビルドタスクで、Mobile Center の UI Test 実行することができる
37. Appendix: VSTS と Mobile Center の連携
? 設定
Apk, app ファイルのパス
UI Test を指定
UITest のビルド出力先
38. Appendix: VSTS と Mobile Center の連携
? 設定(続き) Xamain.UITest のパス
Mobile Center への接続設定
?Mobile Center 側で API Token を
発行しておく必要がある
ユーザー名とMobile Center のアプリケーション識別子 {username}/{app_identifier}
Devices の値は次ページを参考
39. Appendix: VSTS と Mobile Center の連携
? 設定(続き)
? Devices の値は、Running tests のコマンドに表示される --devices オプ
ションの値