Write Test Case Using Copilot: The Copilot Show - Ep. 6
0 views
Aug 6, 2025
This session will demonstrate how to efficiently write test cases using Copilot. 📺 CSharp TV - Dev Streaming Destination http://csharp.tv 🌎 C# Corner - Community of Software and Data Developers https://www.c-sharpcorner.com #CSharpTV #csharpcorner #LiveShow
View Video Transcript
0:19
[Music]
0:27
[Music]
0:45
[Applause]
0:46
[Applause]
0:46
[Applause] [Music]
0:57
he
1:13
hello hello hello good morning good
1:15
hello hello hello good morning good
1:15
hello hello hello good morning good evening good afternoon my name is mahes
1:17
evening good afternoon my name is mahes
1:17
evening good afternoon my name is mahes Chan your host of the copilot
1:21
Chan your host of the copilot
1:21
Chan your host of the copilot show
1:23
show
1:23
show today we are going to talk about
1:25
today we are going to talk about
1:25
today we are going to talk about something different unit tests how do
1:28
something different unit tests how do
1:28
something different unit tests how do you write unit tests using
1:30
you write unit tests using
1:30
you write unit tests using co-pilot welcome to the show if you are
1:33
co-pilot welcome to the show if you are
1:33
co-pilot welcome to the show if you are joining me first time welcome if you are
1:36
joining me first time welcome if you are
1:36
joining me first time welcome if you are joining back welcome back to the
1:39
joining back welcome back to the
1:39
joining back welcome back to the show this show is every Saturday about
1:41
show this show is every Saturday about
1:41
show this show is every Saturday about 20 minutes we take one topic on co-pilot
1:45
20 minutes we take one topic on co-pilot
1:45
20 minutes we take one topic on co-pilot and how if uh you are anybody who are
1:49
and how if uh you are anybody who are
1:49
and how if uh you are anybody who are building software if you are a
1:51
building software if you are a
1:51
building software if you are a programmer developer
1:53
programmer developer
1:53
programmer developer tester lead project manager anybody you
1:57
tester lead project manager anybody you
1:57
tester lead project manager anybody you are involved in writing software
1:59
are involved in writing software
1:59
are involved in writing software building software go pallot can be your
2:02
building software go pallot can be your
2:02
building software go pallot can be your best
2:04
best
2:04
best friend if you are joining first time and
2:07
friend if you are joining first time and
2:07
friend if you are joining first time and you don't know there been this is a our
2:11
you don't know there been this is a our
2:11
you don't know there been this is a our um sixth episode so there are five
2:13
um sixth episode so there are five
2:13
um sixth episode so there are five episodes already done they're recorded
2:15
episodes already done they're recorded
2:15
episodes already done they're recorded they are live on CP Corners YouTube
2:19
they are live on CP Corners YouTube
2:20
they are live on CP Corners YouTube channel C Corners uh
2:24
channel C Corners uh
2:24
channel C Corners uh C.T uh if you can also go to if you are
2:27
C.T uh if you can also go to if you are
2:27
C.T uh if you can also go to if you are on C Corner go to videos it's all there
2:29
on C Corner go to videos it's all there
2:29
on C Corner go to videos it's all there there as well so all right let's get
2:32
there as well so all right let's get
2:32
there as well so all right let's get this started the way show works is I'm
2:34
this started the way show works is I'm
2:34
this started the way show works is I'm going to talk about one topic today
2:37
going to talk about one topic today
2:37
going to talk about one topic today copilot in unit test and if you are
2:40
copilot in unit test and if you are
2:40
copilot in unit test and if you are using copilot please share share share
2:43
using copilot please share share share
2:43
using copilot please share share share your your feedback how do you like
2:45
your your feedback how do you like
2:45
your your feedback how do you like copilot what you're learning what you're
2:47
copilot what you're learning what you're
2:47
copilot what you're learning what you're building ask questions if you have any
2:50
building ask questions if you have any
2:50
building ask questions if you have any questions uh share this streaming if
2:54
questions uh share this streaming if
2:54
questions uh share this streaming if you're watching live on YouTube or
2:55
you're watching live on YouTube or
2:56
you're watching live on YouTube or Twitter or C.T please share with your
3:00
Twitter or C.T please share with your
3:00
Twitter or C.T please share with your friends on your social media we want
3:01
friends on your social media we want
3:01
friends on your social media we want more and more people to know about this
3:03
more and more people to know about this
3:03
more and more people to know about this show um yeah and then uh I will also
3:08
show um yeah and then uh I will also
3:08
show um yeah and then uh I will also talk about heck India a little bit heck
3:10
talk about heck India a little bit heck
3:10
talk about heck India a little bit heck India in the end of the show I'll cover
3:13
India in the end of the show I'll cover
3:13
India in the end of the show I'll cover a few things housekeeping and what's
3:16
a few things housekeeping and what's
3:16
a few things housekeeping and what's going on with
3:17
going on with
3:17
going on with cop.com so let's get started going to
3:21
cop.com so let's get started going to
3:21
cop.com so let's get started going to share my
3:22
share my
3:22
share my screen today we are going to talk about
3:25
screen today we are going to talk about
3:25
screen today we are going to talk about unit
3:26
unit
3:26
unit tests all right so
3:30
tests all right so
3:30
tests all right so let me make a full
3:34
screen
3:38
okay
3:39
okay
3:39
okay um as I said earlier if you um have not
3:43
um as I said earlier if you um have not
3:43
um as I said earlier if you um have not checked out our ebook section on cop I
3:45
checked out our ebook section on cop I
3:45
checked out our ebook section on cop I have an ebook called copilot handbook
3:47
have an ebook called copilot handbook
3:47
have an ebook called copilot handbook for students and developer it's a very
3:49
for students and developer it's a very
3:49
for students and developer it's a very short ebook I think 40 some pages but
3:52
short ebook I think 40 some pages but
3:52
short ebook I think 40 some pages but this has um juice of all these topics on
3:57
this has um juice of all these topics on
3:57
this has um juice of all these topics on how to do different things you copal
4:00
how to do different things you copal
4:00
how to do different things you copal GitHub
4:01
GitHub
4:01
GitHub copal so what are unit tests I think
4:04
copal so what are unit tests I think
4:04
copal so what are unit tests I think many of you already know what unit tests
4:06
many of you already know what unit tests
4:06
many of you already know what unit tests are but if you are not familiar with
4:08
are but if you are not familiar with
4:08
are but if you are not familiar with unit tests your first time hearing this
4:11
unit tests your first time hearing this
4:11
unit tests your first time hearing this term unit tests uh what they are they
4:13
term unit tests uh what they are they
4:13
term unit tests uh what they are they are automated tests that checks your
4:16
are automated tests that checks your
4:16
are automated tests that checks your code make sure they're working the code
4:19
code make sure they're working the code
4:19
code make sure they're working the code is working correctly it's it's very
4:21
is working correctly it's it's very
4:21
is working correctly it's it's very important when you write a code and you
4:25
important when you write a code and you
4:25
important when you write a code and you have to do testing and debugging and
4:27
have to do testing and debugging and
4:27
have to do testing and debugging and finding bugs but if you have unit test
4:30
finding bugs but if you have unit test
4:30
finding bugs but if you have unit test written for all of your code majority of
4:32
written for all of your code majority of
4:32
written for all of your code majority of your code where you think the the bugs
4:35
your code where you think the the bugs
4:35
your code where you think the the bugs and debugging is required you can write
4:37
and debugging is required you can write
4:37
and debugging is required you can write unit test in unit test actually you can
4:40
unit test in unit test actually you can
4:40
unit test in unit test actually you can run
4:41
run
4:41
run them
4:43
them
4:43
them automated you can automatically run them
4:45
automated you can automatically run them
4:45
automated you can automatically run them using visual studio or your cicd before
4:49
using visual studio or your cicd before
4:49
using visual studio or your cicd before your code is actually deployed in the
4:52
your code is actually deployed in the
4:52
your code is actually deployed in the testing and production that's the
4:54
testing and production that's the
4:54
testing and production that's the advantage so think about that when
4:57
advantage so think about that when
4:57
advantage so think about that when somebody's testing you know you're
4:58
somebody's testing you know you're
4:58
somebody's testing you know you're testing q and test T in team is testing
5:00
testing q and test T in team is testing
5:00
testing q and test T in team is testing a software before it goes live or
5:02
a software before it goes live or
5:02
a software before it goes live or deployed on production a unit test can
5:04
deployed on production a unit test can
5:04
deployed on production a unit test can do automate lot of this tasks especially
5:08
do automate lot of this tasks especially
5:08
do automate lot of this tasks especially with the data inputs the type of data
5:10
with the data inputs the type of data
5:10
with the data inputs the type of data types the methods the functions make
5:13
types the methods the functions make
5:13
types the methods the functions make sure they're working
5:17
properly so there are different benefits
5:19
properly so there are different benefits
5:19
properly so there are different benefits of unit test that it helps um um early
5:22
of unit test that it helps um um early
5:22
of unit test that it helps um um early detect these bug helps code refacing
5:26
detect these bug helps code refacing
5:26
detect these bug helps code refacing means if you find something issue you
5:28
means if you find something issue you
5:28
means if you find something issue you can change and fix your code um it helps
5:32
can change and fix your code um it helps
5:32
can change and fix your code um it helps faster debugging improve code quality
5:35
faster debugging improve code quality
5:35
faster debugging improve code quality obviously and eventually enhance reality
5:38
obviously and eventually enhance reality
5:38
obviously and eventually enhance reality um reliability sorry I just took a
5:40
um reliability sorry I just took a
5:40
um reliability sorry I just took a flight from West Coast uh all night so
5:44
flight from West Coast uh all night so
5:44
flight from West Coast uh all night so I'm still kind
5:45
I'm still kind
5:45
I'm still kind of
5:47
of
5:47
of uh tired a little bit okay so what is
5:52
uh tired a little bit okay so what is
5:52
uh tired a little bit okay so what is test driven development I'm sure you
5:54
test driven development I'm sure you
5:54
test driven development I'm sure you have heard of this tdd test driven
5:56
have heard of this tdd test driven
5:56
have heard of this tdd test driven development it's a when you use test
5:59
development it's a when you use test
5:59
development it's a when you use test it's a kind of approach the way you
6:00
it's a kind of approach the way you
6:00
it's a kind of approach the way you build software and in during this test
6:03
build software and in during this test
6:03
build software and in during this test driven development what you do is you
6:05
driven development what you do is you
6:05
driven development what you do is you write test
6:06
write test
6:06
write test cases before before you write your code
6:09
cases before before you write your code
6:09
cases before before you write your code you start with the test C before
6:11
you start with the test C before
6:11
you start with the test C before implementing code right so you start
6:13
implementing code right so you start
6:13
implementing code right so you start with building make sure the test cases
6:15
with building make sure the test cases
6:15
with building make sure the test cases are their first approach is it good I I
6:21
are their first approach is it good I I
6:21
are their first approach is it good I I I'm not sure TD is really the best
6:23
I'm not sure TD is really the best
6:23
I'm not sure TD is really the best approach to build software but if you
6:27
approach to build software but if you
6:27
approach to build software but if you think that your your software is very
6:30
think that your your software is very
6:30
think that your your software is very complex and it really needs make sure
6:32
complex and it really needs make sure
6:32
complex and it really needs make sure that everything is working DDD can help
6:35
that everything is working DDD can help
6:35
that everything is working DDD can help you can also pick and choose what part
6:37
you can also pick and choose what part
6:37
you can also pick and choose what part of code you want to write unit tests
6:40
of code you want to write unit tests
6:40
of code you want to write unit tests which are really must so it has this
6:43
which are really must so it has this
6:43
which are really must so it has this this approach called Cycles called red
6:45
this approach called Cycles called red
6:45
this approach called Cycles called red green reflector so if your code passes
6:48
green reflector so if your code passes
6:48
green reflector so if your code passes it's green if your code fails it's red
6:52
it's green if your code fails it's red
6:52
it's green if your code fails it's red and if it's red you just refector your
6:54
and if it's red you just refector your
6:54
and if it's red you just refector your code to make sure all tests pass if you
6:57
code to make sure all tests pass if you
6:57
code to make sure all tests pass if you want to learn more about tdd if you go
7:00
want to learn more about tdd if you go
7:00
want to learn more about tdd if you go to c.com you search test driven
7:02
to c.com you search test driven
7:02
to c.com you search test driven development there are many articles and
7:05
development there are many articles and
7:05
development there are many articles and tutorials already there on test driven
7:09
tutorials already there on test driven
7:09
tutorials already there on test driven development so there's two ways to write
7:12
development so there's two ways to write
7:12
development so there's two ways to write unit tests one is you can write by say
7:14
unit tests one is you can write by say
7:14
unit tests one is you can write by say yourself in hand so you just kind of
7:17
yourself in hand so you just kind of
7:17
yourself in hand so you just kind of I'll show you how to do co-pilot can do
7:19
I'll show you how to do co-pilot can do
7:19
I'll show you how to do co-pilot can do that or you can use existing Frameworks
7:23
that or you can use existing Frameworks
7:23
that or you can use existing Frameworks there are several existing Frameworks
7:25
there are several existing Frameworks
7:25
there are several existing Frameworks and each language has its own framework
7:28
and each language has its own framework
7:28
and each language has its own framework so depending on the language you're
7:29
so depending on the language you're
7:29
so depending on the language you're working with for example you you working
7:32
working with for example you you working
7:32
working with for example you you working with python there's a unit test P test
7:35
with python there's a unit test P test
7:35
with python there's a unit test P test no those are three most popular unit
7:37
no those are three most popular unit
7:37
no those are three most popular unit test framework for python for Java junit
7:42
test framework for python for Java junit
7:42
test framework for python for Java junit test NG and Mako are the three unit test
7:45
test NG and Mako are the three unit test
7:45
test NG and Mako are the three unit test Frameworks for Java Java developers
7:48
Frameworks for Java Java developers
7:48
Frameworks for Java Java developers JavaScript has just mocha and Jasmine
7:51
JavaScript has just mocha and Jasmine
7:51
JavaScript has just mocha and Jasmine and C which I'm going to focus on cpage
7:54
and C which I'm going to focus on cpage
7:55
and C which I'm going to focus on cpage because that's what I write my code in
7:57
because that's what I write my code in
7:57
because that's what I write my code in CP and.net uh any unit X unit in Ms test
8:02
CP and.net uh any unit X unit in Ms test
8:02
CP and.net uh any unit X unit in Ms test so any unit in X any unit has been
8:04
so any unit in X any unit has been
8:05
so any unit in X any unit has been around for a long time that was probably
8:07
around for a long time that was probably
8:07
around for a long time that was probably one of the first framework as I remember
8:10
one of the first framework as I remember
8:10
one of the first framework as I remember while ago xunit a new framework it's um
8:13
while ago xunit a new framework it's um
8:13
while ago xunit a new framework it's um it's after Net 5 net code to be to be
8:18
it's after Net 5 net code to be to be
8:18
it's after Net 5 net code to be to be honest and Ms test is a Microsoft's
8:21
honest and Ms test is a Microsoft's
8:21
honest and Ms test is a Microsoft's homegrown testing framework so ideally I
8:25
homegrown testing framework so ideally I
8:25
homegrown testing framework so ideally I personally like to use M Ms test but if
8:28
personally like to use M Ms test but if
8:28
personally like to use M Ms test but if you're already used to using n n unit
8:30
you're already used to using n n unit
8:30
you're already used to using n n unit you can use n x unit depends on you can
8:32
you can use n x unit depends on you can
8:32
you can use n x unit depends on you can use either um and and um it's really
8:36
use either um and and um it's really
8:36
use either um and and um it's really also depends on your experience and how
8:39
also depends on your experience and how
8:39
also depends on your experience and how far you want to go with unit test in
8:41
far you want to go with unit test in
8:41
far you want to go with unit test in your
8:43
your
8:43
your application so if you want to learn more
8:45
application so if you want to learn more
8:45
application so if you want to learn more about nunit xunit all that all you have
8:47
about nunit xunit all that all you have
8:47
about nunit xunit all that all you have to do go to c.com and search
8:50
to do go to c.com and search
8:50
to do go to c.com and search nunit uh you will see bunch of articles
8:53
nunit uh you will see bunch of articles
8:53
nunit uh you will see bunch of articles there you search X unit you'll see a lot
8:54
there you search X unit you'll see a lot
8:54
there you search X unit you'll see a lot of articles there even Ms there's
8:56
of articles there even Ms there's
8:56
of articles there even Ms there's several articles on that it shows how to
8:59
several articles on that it shows how to
8:59
several articles on that it shows how to to use the Frameworks in your in your
9:04
to use the Frameworks in your in your
9:04
to use the Frameworks in your in your applications so what's the difference
9:06
applications so what's the difference
9:06
applications so what's the difference how do you pick the which unit test is
9:08
how do you pick the which unit test is
9:08
how do you pick the which unit test is really best for you especially I'm here
9:10
really best for you especially I'm here
9:10
really best for you especially I'm here talking about C and net only so as I
9:13
talking about C and net only so as I
9:13
talking about C and net only so as I said any unit is probably the one of the
9:16
said any unit is probably the one of the
9:16
said any unit is probably the one of the oldest and it's good for large complex
9:18
oldest and it's good for large complex
9:18
oldest and it's good for large complex projects and also a lot of people know
9:21
projects and also a lot of people know
9:21
projects and also a lot of people know about so if you're already familiar with
9:22
about so if you're already familiar with
9:22
about so if you're already familiar with any unit that's great xunit is really
9:25
any unit that's great xunit is really
9:25
any unit that's great xunit is really for net core uh and it's a newer one MST
9:30
for net core uh and it's a newer one MST
9:30
for net core uh and it's a newer one MST test is if you just focused on you want
9:32
test is if you just focused on you want
9:32
test is if you just focused on you want to you know keep everything within
9:34
to you know keep everything within
9:34
to you know keep everything within Microsoft n xunit and n unit are third
9:37
Microsoft n xunit and n unit are third
9:37
Microsoft n xunit and n unit are third party open source right Ms test is uh
9:40
party open source right Ms test is uh
9:40
party open source right Ms test is uh part of NET Framework you have to add
9:43
part of NET Framework you have to add
9:43
part of NET Framework you have to add extra you know name spaces and add
9:45
extra you know name spaces and add
9:45
extra you know name spaces and add libraries if need to be again if you go
9:48
libraries if need to be again if you go
9:48
libraries if need to be again if you go to c.com and search all these xunit
9:51
to c.com and search all these xunit
9:51
to c.com and search all these xunit nunit Ms test there's several articles
9:53
nunit Ms test there's several articles
9:53
nunit Ms test there's several articles already there written by Community folks
9:56
already there written by Community folks
9:56
already there written by Community folks like yourself
9:59
like yourself
9:59
like yourself um so I'm going to Now demo switch to
10:02
um so I'm going to Now demo switch to
10:02
um so I'm going to Now demo switch to the demo to my let me switch to my
10:06
the demo to my let me switch to my
10:06
the demo to my let me switch to my screen so I'll quick show
10:09
screen so I'll quick show
10:09
screen so I'll quick show you it's really
10:16
a come on add my add to Stage my screen
10:20
a come on add my add to Stage my screen
10:20
a come on add my add to Stage my screen de you want to add the
10:23
screen yep there you go so I'm sure you
10:28
screen yep there you go so I'm sure you
10:28
screen yep there you go so I'm sure you can now see my screen
10:30
can now see my screen
10:30
can now see my screen let me share my screen so I have here U
10:34
let me share my screen so I have here U
10:34
let me share my screen so I have here U obviously Visual Studio that's what I
10:36
obviously Visual Studio that's what I
10:36
obviously Visual Studio that's what I work in I'm going to Quick you can apply
10:40
work in I'm going to Quick you can apply
10:40
work in I'm going to Quick you can apply this to your existing code you're
10:42
this to your existing code you're
10:42
this to your existing code you're writing a new application you can start
10:44
writing a new application you can start
10:44
writing a new application you can start unit test there as well so I'm just
10:46
unit test there as well so I'm just
10:46
unit test there as well so I'm just going to write a
10:49
going to write a
10:49
going to write a simple I'm going to ask go pilot to can
10:52
simple I'm going to ask go pilot to can
10:52
simple I'm going to ask go pilot to can you create a simple
10:57
calculator app
11:00
calculator app
11:00
calculator app program right I can do that uh obviously
11:03
program right I can do that uh obviously
11:03
program right I can do that uh obviously I'm in Visual Studio my GitHub copilot
11:06
I'm in Visual Studio my GitHub copilot
11:06
I'm in Visual Studio my GitHub copilot is enabled as you can see it's green if
11:08
is enabled as you can see it's green if
11:08
is enabled as you can see it's green if this is not green that means your you
11:10
this is not green that means your you
11:10
this is not green that means your you don't your GitHub copilot login is not
11:13
don't your GitHub copilot login is not
11:13
don't your GitHub copilot login is not integrated with with Visual Studio you
11:15
integrated with with Visual Studio you
11:15
integrated with with Visual Studio you have to log in make sure you have
11:16
have to log in make sure you have
11:16
have to log in make sure you have co-pilot
11:18
co-pilot
11:18
co-pilot license um if you want to learn more
11:21
license um if you want to learn more
11:21
license um if you want to learn more about this there's another episode
11:23
about this there's another episode
11:23
about this there's another episode previous done before on that so yeah
11:25
previous done before on that so yeah
11:25
previous done before on that so yeah let's write a simple calculator program
11:28
let's write a simple calculator program
11:28
let's write a simple calculator program here uh
11:29
here uh
11:29
here uh um in this you can apply to your
11:32
um in this you can apply to your
11:32
um in this you can apply to your existing code and you can
11:35
existing code and you can
11:35
existing code and you can also um so here we go right so there is
11:39
also um so here we go right so there is
11:39
also um so here we go right so there is a simple calculator it says okay man
11:43
a simple calculator it says okay man
11:43
a simple calculator it says okay man write this calculator add update delete
11:45
write this calculator add update delete
11:45
write this calculator add update delete depend on the what you um you can enter
11:49
depend on the what you um you can enter
11:49
depend on the what you um you can enter numbers then you can pick an operator
11:52
numbers then you can pick an operator
11:52
numbers then you can pick an operator and blah
11:53
and blah
11:53
and blah blah yeah I don't really like this uh so
11:56
blah yeah I don't really like this uh so
11:56
blah yeah I don't really like this uh so what I'm going to do is
12:00
what I'm going to do is
12:00
what I'm going to do is um let me see can you
12:06
separate separate methods of this
12:11
separate separate methods of this
12:11
separate separate methods of this calulator
12:17
program I can also can
12:21
program I can also can
12:21
program I can also can you
12:25
add can you rewrite
12:29
add can you rewrite
12:29
add can you rewrite this
12:31
this
12:31
this code and
12:34
code and
12:34
code and move functionality to the
12:38
move functionality to the
12:38
move functionality to the methods such as ADD and
12:43
methods such as ADD and
12:43
methods such as ADD and subract so I'm going to move these the
12:45
subract so I'm going to move these the
12:45
subract so I'm going to move these the reason I'm moving this code into these
12:48
reason I'm moving this code into these
12:48
reason I'm moving this code into these different separate methods
12:51
different separate methods
12:51
different separate methods is is uh um so I can easily write unit
12:56
is is uh um so I can easily write unit
12:56
is is uh um so I can easily write unit cost uh unit test that's easy because
12:58
cost uh unit test that's easy because
12:58
cost uh unit test that's easy because unit test are good if you are picking up
13:02
unit test are good if you are picking up
13:02
unit test are good if you are picking up the smaller pieces of the code such as
13:04
the smaller pieces of the code such as
13:04
the smaller pieces of the code such as methods and functions so yeah there so
13:06
methods and functions so yeah there so
13:06
methods and functions so yeah there so now what it do is go pilot adds added
13:08
now what it do is go pilot adds added
13:08
now what it do is go pilot adds added these methods called add
13:10
these methods called add
13:10
these methods called add subtract multiply divide right so now we
13:13
subtract multiply divide right so now we
13:13
subtract multiply divide right so now we got that this is great I'm going to
13:17
got that this is great I'm going to
13:17
got that this is great I'm going to continue to
13:18
continue to
13:18
continue to add more to this oh not here let's see
13:22
add more to this oh not here let's see
13:22
add more to this oh not here let's see sometime it gets confused depends on
13:23
sometime it gets confused depends on
13:23
sometime it gets confused depends on where you are so I will close this and
13:26
where you are so I will close this and
13:26
where you are so I will close this and I'll say here can you new
13:32
add
13:36
uh exception handling to
13:40
uh exception handling to
13:40
uh exception handling to this thiso program cuz I I like to use
13:44
this thiso program cuz I I like to use
13:44
this thiso program cuz I I like to use try cach and Cat NS and all that by
13:48
try cach and Cat NS and all that by
13:48
try cach and Cat NS and all that by default so if you they should be
13:51
default so if you they should be
13:51
default so if you they should be actually best automatic best practices
13:53
actually best automatic best practices
13:53
actually best automatic best practices when you write code anyway so there you
13:55
when you write code anyway so there you
13:55
when you write code anyway so there you go so now it added um all this
14:00
go so now it added um all this
14:01
go so now it added um all this okay I think this is good enough to show
14:04
okay I think this is good enough to show
14:04
okay I think this is good enough to show so what happens is let's run this
14:08
so what happens is let's run this
14:08
so what happens is let's run this program um see what it does and then we
14:11
program um see what it does and then we
14:11
program um see what it does and then we are going to add the unit test to
14:14
are going to add the unit test to
14:14
are going to add the unit test to this uh so say enter first number let's
14:16
this uh so say enter first number let's
14:16
this uh so say enter first number let's say 12 let's say 10 let's say plus right
14:22
say 12 let's say 10 let's say plus right
14:22
say 12 let's say 10 let's say plus right so okay simple does adds that done
14:26
so okay simple does adds that done
14:26
so okay simple does adds that done great um
14:29
great um
14:29
great um all right all right let's do this I'm
14:31
all right all right let's do this I'm
14:31
all right all right let's do this I'm going to just close that
14:35
going to just close that
14:35
going to just close that done I'm going to write uh let's do this
14:39
done I'm going to write uh let's do this
14:39
done I'm going to write uh let's do this can you
14:41
can you
14:41
can you write unit test to this
14:46
program so I'm writing unit test using
14:49
program so I'm writing unit test using
14:49
program so I'm writing unit test using simple almost like by hand so it should
14:52
simple almost like by hand so it should
14:52
simple almost like by hand so it should not use any framework it should just uh
14:55
not use any framework it should just uh
14:55
not use any framework it should just uh write
14:56
write
14:56
write different methods so it shows me okay so
14:59
different methods so it shows me okay so
14:59
different methods so it shows me okay so I'm going to actually cancel this for a
15:02
I'm going to actually cancel this for a
15:02
I'm going to actually cancel this for a second I'm going to change my
15:05
second I'm going to change my
15:05
second I'm going to change my command uh do this right
15:09
command uh do this right
15:09
command uh do this right here can you add unit test to this class
15:16
here can you add unit test to this class
15:16
here can you add unit test to this class for all methods
15:20
for all methods
15:20
for all methods only and
15:24
also excuse me say execute
15:29
also excuse me say execute
15:29
also excuse me say execute unit test
15:32
unit test
15:32
unit test before the program
15:35
before the program
15:35
before the program executes so what I'm doing is I want to
15:37
executes so what I'm doing is I want to
15:38
executes so what I'm doing is I want to make sure that you can write this unit
15:40
make sure that you can write this unit
15:40
make sure that you can write this unit test in separate class usually that's
15:43
test in separate class usually that's
15:43
test in separate class usually that's what I would
15:44
what I would
15:44
what I would recommend and Co this copilot can a new
15:47
recommend and Co this copilot can a new
15:47
recommend and Co this copilot can a new class for you but for Simplicity I'm
15:49
class for you but for Simplicity I'm
15:49
class for you but for Simplicity I'm going to add these units in the same
15:51
going to add these units in the same
15:51
going to add these units in the same class okay and then I'm also saying I
15:54
class okay and then I'm also saying I
15:54
class okay and then I'm also saying I want you to execute unit test before you
15:56
want you to execute unit test before you
15:56
want you to execute unit test before you execute the program
15:59
execute the program
15:59
execute the program um that's what I'm
16:00
um that's what I'm
16:00
um that's what I'm saying
16:02
saying
16:02
saying um so okay so as you see I'm going to
16:07
um so okay so as you see I'm going to
16:07
um so okay so as you see I'm going to review this code in a second so when
16:08
review this code in a second so when
16:08
review this code in a second so when your method main method
16:10
your method main method
16:11
your method main method starts uh it has a method called run
16:13
starts uh it has a method called run
16:13
starts uh it has a method called run unit test okay and if you go to run unit
16:16
unit test okay and if you go to run unit
16:17
unit test okay and if you go to run unit test at the bottom of this class is
16:20
test at the bottom of this class is
16:20
test at the bottom of this class is right here it has these four methods
16:23
right here it has these four methods
16:23
right here it has these four methods right test ADD test so it's testing it's
16:25
right test ADD test so it's testing it's
16:25
right test ADD test so it's testing it's calling different methods to test so
16:28
calling different methods to test so
16:28
calling different methods to test so test add method obviously ADD test the
16:31
test add method obviously ADD test the
16:31
test add method obviously ADD test the add add method of the class okay make
16:35
add add method of the class okay make
16:35
add add method of the class okay make sure that then as you can see here the
16:38
sure that then as you can see here the
16:38
sure that then as you can see here the value is hardcoded right so what you're
16:40
value is hardcoded right so what you're
16:40
value is hardcoded right so what you're saying is I'm adding two and three if
16:42
saying is I'm adding two and three if
16:42
saying is I'm adding two and three if the result are not equal to five that
16:44
the result are not equal to five that
16:44
the result are not equal to five that means there's a problem in this method
16:48
means there's a problem in this method
16:48
means there's a problem in this method that's how you have to really think
16:50
that's how you have to really think
16:50
that's how you have to really think about when you are writing your own unit
16:52
about when you are writing your own unit
16:52
about when you are writing your own unit test you are saying if I give these
16:55
test you are saying if I give these
16:55
test you are saying if I give these inputs to my this method I expect this
16:59
inputs to my this method I expect this
16:59
inputs to my this method I expect this output so that means if output is dead
17:03
output so that means if output is dead
17:03
output so that means if output is dead then test passes otherwise it fails so
17:05
then test passes otherwise it fails so
17:05
then test passes otherwise it fails so anytime test fails then you can go and
17:08
anytime test fails then you can go and
17:08
anytime test fails then you can go and look at that before you actually deploys
17:11
look at that before you actually deploys
17:11
look at that before you actually deploys that in the production or even even test
17:14
that in the production or even even test
17:14
that in the production or even even test QA right so this is if you don't know
17:17
QA right so this is if you don't know
17:17
QA right so this is if you don't know much about how to write unit test
17:18
much about how to write unit test
17:18
much about how to write unit test there's a lot of tutorials out there on
17:20
there's a lot of tutorials out there on
17:20
there's a lot of tutorials out there on C Corner I'm sure you can watch YouTube
17:23
C Corner I'm sure you can watch YouTube
17:23
C Corner I'm sure you can watch YouTube but this is idea here is to learn that
17:26
but this is idea here is to learn that
17:26
but this is idea here is to learn that how co-pilot can write these test cas
17:28
how co-pilot can write these test cas
17:28
how co-pilot can write these test cas for you because writing test case is a
17:31
for you because writing test case is a
17:31
for you because writing test case is a it's a time consuming process if
17:33
it's a time consuming process if
17:33
it's a time consuming process if especially if you have a large project
17:35
especially if you have a large project
17:35
especially if you have a large project if you large project takes a lot of
17:37
if you large project takes a lot of
17:37
if you large project takes a lot of times like duplicating code plus you
17:39
times like duplicating code plus you
17:39
times like duplicating code plus you didn't add more you are adding more
17:41
didn't add more you are adding more
17:41
didn't add more you are adding more right so that's kind of I I never likeed
17:44
right so that's kind of I I never likeed
17:44
right so that's kind of I I never likeed writing you know test my by hand so
17:47
writing you know test my by hand so
17:47
writing you know test my by hand so let's run this so we are going to run
17:50
let's run this so we are going to run
17:50
let's run this so we are going to run this
17:52
this
17:52
this now and
17:55
now and
17:56
now and since um since actually it has not
17:59
since um since actually it has not
17:59
since um since actually it has not showed
18:00
showed
18:00
showed me um
18:03
me um
18:03
me um any mes issues so this means it passed
18:06
any mes issues so this means it passed
18:06
any mes issues so this means it passed by default right you can also change
18:07
by default right you can also change
18:07
by default right you can also change pass pass so we can go back and say
18:11
pass pass so we can go back and say
18:11
pass pass so we can go back and say results are this through exception there
18:15
results are this through exception there
18:15
results are this through exception there was no exception here right so that's
18:17
was no exception here right so that's
18:17
was no exception here right so that's why everything worked fine so let's me
18:20
why everything worked fine so let's me
18:20
why everything worked fine so let's me let's say somehow something mistake
18:22
let's say somehow something mistake
18:22
let's say somehow something mistake happens and somebody message this up and
18:26
happens and somebody message this up and
18:26
happens and somebody message this up and say you know some code something wrong
18:28
say you know some code something wrong
18:28
say you know some code something wrong and just say that right so what I did is
18:31
and just say that right so what I did is
18:31
and just say that right so what I did is in add method I changed from plus to
18:33
in add method I changed from plus to
18:33
in add method I changed from plus to minus somehow let's say you have a
18:35
minus somehow let's say you have a
18:35
minus somehow let's say you have a complex function or method where
18:37
complex function or method where
18:37
complex function or method where developers does something and something
18:39
developers does something and something
18:39
developers does something and something is not really done right in the logic
18:41
is not really done right in the logic
18:41
is not really done right in the logic business logic and output is not the
18:43
business logic and output is not the
18:43
business logic and output is not the same so now I'll do that so what happens
18:47
same so now I'll do that so what happens
18:47
same so now I'll do that so what happens I should get see1 exception here so it's
18:49
I should get see1 exception here so it's
18:49
I should get see1 exception here so it's already throwing an exception here right
18:50
already throwing an exception here right
18:50
already throwing an exception here right here before I execute so okay that means
18:54
here before I execute so okay that means
18:54
here before I execute so okay that means something goes wrong here
18:56
something goes wrong here
18:56
something goes wrong here right I can see it now I can de buug it
18:59
right I can see it now I can de buug it
18:59
right I can see it now I can de buug it you can go back back and debug and all
19:01
you can go back back and debug and all
19:01
you can go back back and debug and all that and then you can fix it right so
19:04
that and then you can fix it right so
19:04
that and then you can fix it right so that's kind of really here
19:06
that's kind of really here
19:06
that's kind of really here the
19:13
um me go to the add method again I can
19:17
um me go to the add method again I can
19:17
um me go to the add method again I can go and fix this
19:19
go and fix this
19:19
go and fix this right can run it again and then stop
19:23
right can run it again and then stop
19:23
right can run it again and then stop this and run it so now boom okay so you
19:28
this and run it so now boom okay so you
19:28
this and run it so now boom okay so you get get the idea you get the idea I
19:30
get get the idea you get the idea I
19:30
get get the idea you get the idea I don't need to explain it too much so the
19:32
don't need to explain it too much so the
19:32
don't need to explain it too much so the the point here is that copilot can also
19:35
the point here is that copilot can also
19:35
the point here is that copilot can also be used to write your test cases and
19:39
be used to write your test cases and
19:39
be used to write your test cases and actually in minutes and save you a lot
19:41
actually in minutes and save you a lot
19:41
actually in minutes and save you a lot of time that's really all about it scil
19:43
of time that's really all about it scil
19:43
of time that's really all about it scil is all about saving your time and make
19:45
is all about saving your time and make
19:45
is all about saving your time and make you more productive doing the dirty work
19:48
you more productive doing the dirty work
19:48
you more productive doing the dirty work you will be doing manually writing your
19:50
you will be doing manually writing your
19:50
you will be doing manually writing your hands um that's what it can do for you
19:53
hands um that's what it can do for you
19:53
hands um that's what it can do for you right I can also do is uh I can do is
19:57
right I can also do is uh I can do is
19:57
right I can also do is uh I can do is let's for testing purpos is what you can
20:00
let's for testing purpos is what you can
20:00
let's for testing purpos is what you can do is I'll remove all this code from
20:03
do is I'll remove all this code from
20:03
do is I'll remove all this code from here
20:04
here
20:04
here okay um I'm going to remove this let's
20:09
okay um I'm going to remove this let's
20:09
okay um I'm going to remove this let's see I miss one
20:12
see I miss one
20:12
see I miss one yeah um you can also go back and say you
20:17
yeah um you can also go back and say you
20:17
yeah um you can also go back and say you know
20:23
uh can you write unit test using m
20:35
test framework or you can even say okay
20:39
test framework or you can even say okay
20:39
test framework or you can even say okay write unit test using n unit let's say
20:41
write unit test using n unit let's say
20:41
write unit test using n unit let's say or X unit if that's what you like to do
20:44
or X unit if that's what you like to do
20:44
or X unit if that's what you like to do depend on what you pick
20:47
depend on what you pick
20:47
depend on what you pick um so it can actually write all using
20:51
um so it can actually write all using
20:51
um so it can actually write all using that as well however you have to make
20:53
that as well however you have to make
20:53
that as well however you have to make sure you had all the reference to the
20:55
sure you had all the reference to the
20:55
sure you had all the reference to the framework in your project so let's look
20:58
framework in your project so let's look
20:58
framework in your project so let's look at at what it did it's so it created a
21:00
at at what it did it's so it created a
21:01
at at what it did it's so it created a new class called calculator test again
21:03
new class called calculator test again
21:03
new class called calculator test again this class you can keep in the same CS
21:06
this class you can keep in the same CS
21:06
this class you can keep in the same CS file you can also move to a different CS
21:09
file you can also move to a different CS
21:10
file you can also move to a different CS file so every time I'm writing these
21:12
file so every time I'm writing these
21:12
file so every time I'm writing these unit test unit test I try to keep them
21:14
unit test unit test I try to keep them
21:15
unit test unit test I try to keep them in a separate files so you can see
21:17
in a separate files so you can see
21:17
in a separate files so you can see there's a fact here right so you won't
21:19
there's a fact here right so you won't
21:19
there's a fact here right so you won't find it that's where you have to add
21:20
find it that's where you have to add
21:20
find it that's where you have to add reference to the to the X unit in your
21:23
reference to the to the X unit in your
21:23
reference to the to the X unit in your project and N unit and there's already
21:25
project and N unit and there's already
21:25
project and N unit and there's already articles on C Corner written on on this
21:28
articles on C Corner written on on this
21:28
articles on C Corner written on on this how to use xunit n unit Ms test in your
21:32
how to use xunit n unit Ms test in your
21:33
how to use xunit n unit Ms test in your project you can go back there but the
21:34
project you can go back there but the
21:34
project you can go back there but the idea is as you can see it can write
21:37
idea is as you can see it can write
21:37
idea is as you can see it can write exactly all codes now based on that
21:40
exactly all codes now based on that
21:40
exactly all codes now based on that framework and these you know framework
21:43
framework and these you know framework
21:43
framework and these you know framework all the it has asserts whatever you feel
21:46
all the it has asserts whatever you feel
21:46
all the it has asserts whatever you feel like and then all these will be a part
21:49
like and then all these will be a part
21:49
like and then all these will be a part of that framework and you will not see
21:51
of that framework and you will not see
21:51
of that framework and you will not see the bug here so with that said I think
21:54
the bug here so with that said I think
21:54
the bug here so with that said I think this gives you a little idea how you can
21:56
this gives you a little idea how you can
21:56
this gives you a little idea how you can take advantage of
22:00
take advantage of
22:00
take advantage of uh let me stop sharing my screen so you
22:02
uh let me stop sharing my screen so you
22:03
uh let me stop sharing my screen so you can benefit from copilot helping you
22:06
can benefit from copilot helping you
22:06
can benefit from copilot helping you right unit
22:07
right unit
22:07
right unit test um so let's see okay sarak welcome
22:12
test um so let's see okay sarak welcome
22:12
test um so let's see okay sarak welcome to the show Prince is here uh yes what
22:15
to the show Prince is here uh yes what
22:15
to the show Prince is here uh yes what are the limitations of using AI power
22:18
are the limitations of using AI power
22:18
are the limitations of using AI power tools like copilot and cop development
22:21
tools like copilot and cop development
22:21
tools like copilot and cop development and how can developers ensure code
22:23
and how can developers ensure code
22:23
and how can developers ensure code quality and security that's a great
22:25
quality and security that's a great
22:25
quality and security that's a great question s so the I think we did talk
22:29
question s so the I think we did talk
22:29
question s so the I think we did talk about the limitations of copilot that
22:32
about the limitations of copilot that
22:32
about the limitations of copilot that the limitations of copilot is that
22:34
the limitations of copilot is that
22:34
the limitations of copilot is that copilot only knows what's existing for a
22:38
copilot only knows what's existing for a
22:38
copilot only knows what's existing for a while now okay so it doesn't know the
22:41
while now okay so it doesn't know the
22:41
while now okay so it doesn't know the latest what's going on right now so if
22:43
latest what's going on right now so if
22:43
latest what's going on right now so if you are working on a new
22:45
you are working on a new
22:45
you are working on a new project that is written using the latest
22:49
project that is written using the latest
22:49
project that is written using the latest let's say latest version of C co-al
22:52
let's say latest version of C co-al
22:52
let's say latest version of C co-al copilot may not know that because it's
22:55
copilot may not know that because it's
22:55
copilot may not know that because it's always you know several months behind
22:58
always you know several months behind
22:58
always you know several months behind learning the new new U changes in that
23:01
learning the new new U changes in that
23:01
learning the new new U changes in that language right that's one limitation
23:05
language right that's one limitation
23:05
language right that's one limitation other limitation is that co-pilot which
23:08
other limitation is that co-pilot which
23:08
other limitation is that co-pilot which should think about when you know AI all
23:10
should think about when you know AI all
23:10
should think about when you know AI all this ji it's a part of jna it's not
23:12
this ji it's a part of jna it's not
23:12
this ji it's a part of jna it's not really AI to be honest it generative AI
23:15
really AI to be honest it generative AI
23:15
really AI to be honest it generative AI what generative AI has done is it went
23:19
what generative AI has done is it went
23:19
what generative AI has done is it went to all the public websites like GitHub
23:21
to all the public websites like GitHub
23:21
to all the public websites like GitHub and C Corner and any Ms documentation
23:25
and C Corner and any Ms documentation
23:25
and C Corner and any Ms documentation and other documentation it copied all
23:27
and other documentation it copied all
23:28
and other documentation it copied all the cont content okay copied all the
23:30
the cont content okay copied all the
23:30
the cont content okay copied all the data learn from it and let's say f it
23:36
data learn from it and let's say f it
23:36
data learn from it and let's say f it found, thousand code samples on how to
23:39
found, thousand code samples on how to
23:39
found, thousand code samples on how to write a calculator so it goes through
23:41
write a calculator so it goes through
23:41
write a calculator so it goes through that TR itself and start creating its
23:43
that TR itself and start creating its
23:43
that TR itself and start creating its own calculator so if that thousands of
23:48
own calculator so if that thousands of
23:48
own calculator so if that thousands of calculator code samples is bad written
23:51
calculator code samples is bad written
23:51
calculator code samples is bad written by older version it may end up writing a
23:53
by older version it may end up writing a
23:53
by older version it may end up writing a bad code however there should be some
23:56
bad code however there should be some
23:56
bad code however there should be some improvement so you have to make sure
23:58
improvement so you have to make sure
23:58
improvement so you have to make sure that the code is written is not bad it
24:02
that the code is written is not bad it
24:02
that the code is written is not bad it has a good quality so that is you have
24:05
has a good quality so that is you have
24:05
has a good quality so that is you have to you have to be more specific to that
24:08
to you have to be more specific to that
24:08
to you have to be more specific to that so if you want to write code in a c 11
24:12
so if you want to write code in a c 11
24:12
so if you want to write code in a c 11 you have to tell him if you want to use
24:14
you have to tell him if you want to use
24:14
you have to tell him if you want to use a string interpolation you may have to
24:16
a string interpolation you may have to
24:16
a string interpolation you may have to tell him more advanc so more you tell
24:20
tell him more advanc so more you tell
24:20
tell him more advanc so more you tell co-pilot tell it you tell copil more
24:23
co-pilot tell it you tell copil more
24:23
co-pilot tell it you tell copil more details what exactly trying to do and
24:26
details what exactly trying to do and
24:26
details what exactly trying to do and better results you will get and that
24:29
better results you will get and that
24:29
better results you will get and that that technique is is a writing prompts
24:33
that technique is is a writing prompts
24:33
that technique is is a writing prompts you know AI prompts so gen promps are
24:35
you know AI prompts so gen promps are
24:35
you know AI prompts so gen promps are important so and there's trick to it
24:38
important so and there's trick to it
24:38
important so and there's trick to it there's technique to it uh there's
24:41
there's technique to it uh there's
24:41
there's technique to it uh there's article on C Corner just on that I wrote
24:43
article on C Corner just on that I wrote
24:43
article on C Corner just on that I wrote how to write good effective prompts for
24:46
how to write good effective prompts for
24:46
how to write good effective prompts for jni CH
24:48
jni CH
24:48
jni CH GPT the title says CH GPT but that same
24:51
GPT the title says CH GPT but that same
24:51
GPT the title says CH GPT but that same prompt applies
24:52
prompt applies
24:52
prompt applies everywhere um code quality and security
24:56
everywhere um code quality and security
24:56
everywhere um code quality and security you can ask cop to check your code
24:59
you can ask cop to check your code
24:59
you can ask cop to check your code quality and security as well and then
25:02
quality and security as well and then
25:02
quality and security as well and then you still have to again it has
25:03
you still have to again it has
25:03
you still have to again it has limitation its own limitations it's
25:05
limitation its own limitations it's
25:05
limitation its own limitations it's going to continue to get better over
25:07
going to continue to get better over
25:07
going to continue to get better over time but uh you also have to make sure
25:10
time but uh you also have to make sure
25:10
time but uh you also have to make sure that you look for uh code quality and
25:12
that you look for uh code quality and
25:12
that you look for uh code quality and security as well um it's like a um it's
25:17
security as well um it's like a um it's
25:17
security as well um it's like a um it's like this is like your assistant which
25:19
like this is like your assistant which
25:19
like this is like your assistant which writes code but you still have to make
25:21
writes code but you still have to make
25:21
writes code but you still have to make sure the code is written right so Amit
25:25
sure the code is written right so Amit
25:25
sure the code is written right so Amit welcome to the show
25:26
welcome to the show
25:26
welcome to the show amazing to comp compete with GitHub
25:29
amazing to comp compete with GitHub
25:29
amazing to comp compete with GitHub copil Google Google also has live I'm
25:31
copil Google Google also has live I'm
25:31
copil Google Google also has live I'm sure yep so Google has its own thing
25:35
sure yep so Google has its own thing
25:35
sure yep so Google has its own thing yeah exactly so everybody's launching it
25:38
yeah exactly so everybody's launching it
25:38
yeah exactly so everybody's launching it right so um I think Amazon has its own
25:42
right so um I think Amazon has its own
25:42
right so um I think Amazon has its own coding tool Facebook has its own coding
25:44
coding tool Facebook has its own coding
25:44
coding tool Facebook has its own coding tool everybody wants to write there are
25:46
tool everybody wants to write there are
25:46
tool everybody wants to write there are third party
25:48
third party
25:48
third party coding um jni tools and there are also
25:52
coding um jni tools and there are also
25:52
coding um jni tools and there are also application that can write your full
25:53
application that can write your full
25:53
application that can write your full application this is just starting guys I
25:56
application this is just starting guys I
25:56
application this is just starting guys I see future means income months and years
26:00
see future means income months and years
26:00
see future means income months and years that all you have to do is hey build me
26:02
that all you have to do is hey build me
26:02
that all you have to do is hey build me a a consumer app um in a mobile app in I
26:08
a a consumer app um in a mobile app in I
26:08
a a consumer app um in a mobile app in I don't know react native which will have
26:11
don't know react native which will have
26:11
don't know react native which will have this this this functionality so all you
26:13
this this this functionality so all you
26:13
this this this functionality so all you can even upload your whole requirement
26:16
can even upload your whole requirement
26:16
can even upload your whole requirement and then AI will write your whole
26:17
and then AI will write your whole
26:17
and then AI will write your whole software
26:18
software
26:18
software application and uh eventually build it
26:21
application and uh eventually build it
26:21
application and uh eventually build it and even deploy it for you so as a your
26:25
and even deploy it for you so as a your
26:25
and even deploy it for you so as a your more focus should
26:26
more focus should
26:26
more focus should be excuse me me you focus should be
26:30
be excuse me me you focus should be
26:30
be excuse me me you focus should be learning these Proms and learning these
26:32
learning these Proms and learning these
26:32
learning these Proms and learning these tools and how effective what more can
26:34
tools and how effective what more can
26:34
tools and how effective what more can you get out of this there'll be less
26:38
you get out of this there'll be less
26:38
you get out of this there'll be less code written by hand in coming time for
26:40
code written by hand in coming time for
26:40
code written by hand in coming time for sure for existing Technologies like you
26:44
sure for existing Technologies like you
26:44
sure for existing Technologies like you know they've been for a while you will
26:46
know they've been for a while you will
26:46
know they've been for a while you will be writing code on say newer things
26:48
be writing code on say newer things
26:48
be writing code on say newer things because AI doesn't know about new things
26:50
because AI doesn't know about new things
26:50
because AI doesn't know about new things right so there's a new AI tool came out
26:53
right so there's a new AI tool came out
26:53
right so there's a new AI tool came out or you llm came out and and it's not
26:57
or you llm came out and and it's not
26:57
or you llm came out and and it's not publicly available and you're working on
26:59
publicly available and you're working on
26:59
publicly available and you're working on a blockchain for example and it's more
27:01
a blockchain for example and it's more
27:01
a blockchain for example and it's more complex that's still going to be wild so
27:05
complex that's still going to be wild so
27:05
complex that's still going to be wild so but writing simple applications and
27:07
but writing simple applications and
27:07
but writing simple applications and debugging and fixing code and adding
27:09
debugging and fixing code and adding
27:09
debugging and fixing code and adding functionality to an application a lot of
27:12
functionality to an application a lot of
27:12
functionality to an application a lot of those jobs will slowly disappear and
27:14
those jobs will slowly disappear and
27:14
those jobs will slowly disappear and they will move to the newer Technologies
27:16
they will move to the newer Technologies
27:16
they will move to the newer Technologies where it's really J is not effective
27:19
where it's really J is not effective
27:19
where it's really J is not effective that so with that said hopefully I think
27:22
that so with that said hopefully I think
27:22
that so with that said hopefully I think you learned something new little bit
27:23
you learned something new little bit
27:24
you learned something new little bit trick please check it out and share and
27:27
trick please check it out and share and
27:27
trick please check it out and share and obviously uh join cop.com and share your
27:31
obviously uh join cop.com and share your
27:31
obviously uh join cop.com and share your expertise there um so little
27:35
expertise there um so little
27:35
expertise there um so little housekeeping in the end um I'm not sure
27:38
housekeeping in the end um I'm not sure
27:38
housekeeping in the end um I'm not sure if you have seen the heck India movement
27:40
if you have seen the heck India movement
27:40
if you have seen the heck India movement going on if you have seen please share
27:43
going on if you have seen please share
27:43
going on if you have seen please share what you are seeing out there heck India
27:46
what you are seeing out there heck India
27:46
what you are seeing out there heck India is one of the C
27:47
is one of the C
27:47
is one of the C Corners um initiatives and this year in
27:51
Corners um initiatives and this year in
27:51
Corners um initiatives and this year in 2025 we are we are training 255,000
27:56
2025 we are we are training 255,000
27:56
2025 we are we are training 255,000 students on AI web3 which web3 also
28:00
students on AI web3 which web3 also
28:00
students on AI web3 which web3 also means blockchain and building front end
28:03
means blockchain and building front end
28:03
means blockchain and building front end back end
28:04
back end
28:04
back end everything and that's one thing going on
28:07
everything and that's one thing going on
28:07
everything and that's one thing going on check out heck India if it's in your
28:08
check out heck India if it's in your
28:08
check out heck India if it's in your local city if you want to support that
28:11
local city if you want to support that
28:11
local city if you want to support that you want to become a mentor or speaker
28:13
you want to become a mentor or speaker
28:13
you want to become a mentor or speaker at these events where in help students
28:16
at these events where in help students
28:16
at these events where in help students please
28:17
please
28:17
please join um I am actually coming to India on
28:21
join um I am actually coming to India on
28:21
join um I am actually coming to India on 10th so I'm leaving 10th 12th I'll be in
28:24
10th so I'm leaving 10th 12th I'll be in
28:24
10th so I'm leaving 10th 12th I'll be in India and uh we will also do some
28:27
India and uh we will also do some
28:27
India and uh we will also do some virtual and person events in Delhi area
28:29
virtual and person events in Delhi area
28:30
virtual and person events in Delhi area so if you're local there you want to
28:31
so if you're local there you want to
28:31
so if you're local there you want to come meet at the c corner office we may
28:34
come meet at the c corner office we may
28:34
come meet at the c corner office we may end up having a local get together as
28:36
end up having a local get together as
28:36
end up having a local get together as well after holy so holy is
28:39
well after holy so holy is
28:39
well after holy so holy is coming yeah and check out c.com what we
28:42
coming yeah and check out c.com what we
28:42
coming yeah and check out c.com what we are doing on C Corner is we are
28:44
are doing on C Corner is we are
28:44
are doing on C Corner is we are gamifying and integrating sharp token
28:47
gamifying and integrating sharp token
28:47
gamifying and integrating sharp token with the whole platform and that's very
28:51
with the whole platform and that's very
28:51
with the whole platform and that's very very uh exciting time because what we're
28:54
very uh exciting time because what we're
28:54
very uh exciting time because what we're doing with the c.com platform is we are
28:57
doing with the c.com platform is we are
28:57
doing with the c.com platform is we are gamifying
28:58
gamifying
28:58
gamifying the the learning and sharing so if you
29:01
the the learning and sharing so if you
29:01
the the learning and sharing so if you write an article you speak you are you
29:05
write an article you speak you are you
29:05
write an article you speak you are you know attending a conference you Tak like
29:07
know attending a conference you Tak like
29:07
know attending a conference you Tak like this show you're watching this show you
29:09
this show you're watching this show you
29:09
this show you're watching this show you are sharing on social media you're
29:10
are sharing on social media you're
29:10
are sharing on social media you're posting anything like your pictures
29:13
posting anything like your pictures
29:13
posting anything like your pictures photo anything you do in the
29:14
photo anything you do in the
29:14
photo anything you do in the community you you ask a question you
29:17
community you you ask a question you
29:17
community you you ask a question you reply you reply Forum question with your
29:20
reply you reply Forum question with your
29:20
reply you reply Forum question with your answer you will start earning these
29:22
answer you will start earning these
29:22
answer you will start earning these tokens and then tokens have real value
29:25
tokens and then tokens have real value
29:25
tokens and then tokens have real value number one so not only you can trade
29:27
number one so not only you can trade
29:27
number one so not only you can trade these in these tokens but you can also
29:29
these in these tokens but you can also
29:29
these in these tokens but you can also use these to tokens on your growth for
29:32
use these to tokens on your growth for
29:32
use these to tokens on your growth for example say Amit here he's in he he can
29:35
example say Amit here he's in he he can
29:35
example say Amit here he's in he he can become a mentor on on the platform
29:38
become a mentor on on the platform
29:38
become a mentor on on the platform shop.com and say I'm a mentor or I'm a
29:41
shop.com and say I'm a mentor or I'm a
29:41
shop.com and say I'm a mentor or I'm a advisor or I'm a consultant anybody can
29:45
advisor or I'm a consultant anybody can
29:45
advisor or I'm a consultant anybody can come and come get advice from me and my
29:47
come and come get advice from me and my
29:47
come and come get advice from me and my rate is I you know thousand tokens a
29:49
rate is I you know thousand tokens a
29:49
rate is I you know thousand tokens a month or whatever the rate can be in
29:51
month or whatever the rate can be in
29:51
month or whatever the rate can be in dollars and that will convert to tokens
29:54
dollars and that will convert to tokens
29:54
dollars and that will convert to tokens and there is a user on the platform he
29:56
and there is a user on the platform he
29:56
and there is a user on the platform he has earned tokens by doing certain
29:59
has earned tokens by doing certain
29:59
has earned tokens by doing certain activities now that user can pay Amit
30:02
activities now that user can pay Amit
30:02
activities now that user can pay Amit for his services and heal so we are
30:05
for his services and heal so we are
30:05
for his services and heal so we are building this sharp economy where this
30:07
building this sharp economy where this
30:07
building this sharp economy where this token can be used to earn learn and earn
30:11
token can be used to earn learn and earn
30:11
token can be used to earn learn and earn and then spend to grow so there's a lot
30:13
and then spend to grow so there's a lot
30:13
and then spend to grow so there's a lot of exciting stuff coming out I would
30:15
of exciting stuff coming out I would
30:15
of exciting stuff coming out I would love to see you guys get involved in
30:18
love to see you guys get involved in
30:18
love to see you guys get involved in that um there are going to be bounties
30:20
that um there are going to be bounties
30:20
that um there are going to be bounties announced soon there's uh yeah there's
30:23
announced soon there's uh yeah there's
30:23
announced soon there's uh yeah there's lot of ways we are gamifying learning so
30:26
lot of ways we are gamifying learning so
30:26
lot of ways we are gamifying learning so hopefully you U enjoy thanks for hanging
30:28
hopefully you U enjoy thanks for hanging
30:28
hopefully you U enjoy thanks for hanging out with me this Saturday um I will see
30:31
out with me this Saturday um I will see
30:31
out with me this Saturday um I will see you next week uh from India actually
30:34
you next week uh from India actually
30:34
you next week uh from India actually I'll be uh India time next week all
30:37
I'll be uh India time next week all
30:37
I'll be uh India time next week all right have a good weekend
30:40
right have a good weekend
30:40
right have a good weekend [Music]